0
Reply

how to load the data from datagridview into windows forms accordingly

Mohsin Mustufa

Mohsin Mustufa

Nov 2 2012 9:31 AM
1.4k
i want that when i click on any record the date of that record will be loaded in forms above
help me please

i am using CellMouseClick event but in the form it show System.Windows.Forms.DataGridViewSelectedRowCollection instead of showing data 

i am using this function

1private void Customers_view_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
2          {
3            ContactLastName.Text = Customers_view.SelectedRows.ToString();
4          }

see image here