Get Specific data from datagrid.
i mean when i select row on datagrid, program will return value in that row.
Any Help will appreciated. thx
you mean get data on each row?
Well, try this code :
add this code in datagrid click event.
Dim i As Integer i = dgAuthor.CurrentRowIndex() MsgBox(Trim(dgAuthor.Item(i, 0)) & " - " & Trim(dgAuthor.Item(i, 1)) & " - " & Trim(dgAuthor.Item(i, 2)))
Modified as u needed.
yes. that what i needed.
you're welcome :)