hello,
1/ events triggered when changing row
try RowLeave and RowEnter events of a DataGridView
2/ find cell content
'this takes the cell value in FILE column of the first selected row Dim CellFile = DataGridView2.SelectedRows(0).Cells("FILE").Value
for every cell you should put this in a For ... Next, replace Cells("FILE") by an array like CellToCheck("CurrentColumn"),
prior this, define in this array, the fields you would like to grab,
Hope this help !
for some extra infos, search for this in MSDN help :
DataGridView Control (Windows Forms)
|