المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : DataGridView



C# Programming
11-12-2009, 10:10 PM
Hi!

I have a question. I have a DataGridView that displays some records and beside it I have another DataGridView.

How can I double click on a record in DataGridView1 so that the record appears in DataGridView2? It's basically an assignment function where I double click the records I need and they are displayd in the second gridview.

I know that I have to execute the code in the double click event of the datagridview but I have no idea how to add the selected record to datagridview2

Thank you in Advance!!

Illegal Operation