Mohsin Mustufa

Mohsin Mustufa

  • NA
  • 16
  • 3.2k

how to load the data from datagridview into windows forms accordingly

Nov 2 2012 9:31 AM
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