C# Windows Form Application

Add Selected Row From DataGridView to Another DataGridView in C#1 min read

In this example, I’ll show you how to Copy selected row from dataGridView1 to dataGridView2 in C# Windows Form Application.


Form Design:

Go to the properties window by clicking on the dataGridView1 control.

Change the SelectionMode to FullRowSelect property of the dataGridView control.

Add the following code to Form_Load event and Button1_Click.



Leave a Comment