Wednesday, February 24, 2010

How To get RowIndex of Asp.Net GridView in the RowCommand Event

As we know that if we add any button control or image button control or link button within the GridView and click to generate postback event then GridView RowCommand Event will fire. But the problem is from this RowCommand method we did not easily get the cliclked or selected GridView row index number. To get the RowIndex of Asp.Net GridView in the RowCommand Event we have two options.
1. Using

No comments:

Post a Comment