Current Row Value in Datagrid

 

We can find the select row in data grid control ( not gridview control ) from following code

 

Dim index As Integer = e.Item.ItemIndex

This index can be used when we want to perform some action on specific row in datagrid like button click, editing row, deleting row, or updating row etc.

Comments

Got something to say?

You must be logged in to post a comment.

<