79316360

Date: 2024-12-29 21:21:32
Score: 2
Natty:
Report link

You can also put the grid row number into one of your grid controls .CommandArgument properties when loading the grid, then retrieve the value on gridview.RowCommand when selected:

  1. grdview yourcontrol.CommandArgument = intRowNo (gridview.rowdatabound event)
  2. Dim intRowNo As Integer = e.CommandArgument - 1 (gridview.rowcommand event)
Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: harry