How do I catch the RowIndex in GridView RowCommand event?
As you all know ASP.NET GridView is the successor of the ASP.NET 1.X DataGrid. But if someone asks me, what is foremost drawback of ASP/.NET GridView according to you. Absolutely, I will say “There is no built-in way to take the RowIndex in RowCommand event”. Because with DataGrid, we were able to catch the ItemIndex in ItemCommand event.
Anyway, luckily there are some unusual ways to catch the RowIndex in GridView RowCommand event. So, I will show the easiest way to do it. But if your guys have any other proven way, don’t forget to share it with me.
![]()
Labels: ASP.NET




0 Comments:
Post a Comment
<< Home