0

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

2
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by Jx_Man
4

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.

Votes + Comments
Great
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.