/ Published in: VB.NET
If you need to get the DataKey value in RowDataBound (e.g. Assigning the DataKey to the CommandArgument of a button):
Expand |
Embed | Plain Text
SomeButton.CommandArgument = Convert.ToString(YourGridview.DataKeys(e.Row.RowIndex).Values(0).ToString())
You need to login to post a comment.
