Hi all,
I am trying to selected the row in a Gridview in asp.net.
My code for selecting the row is like this:
GridViewRow row = GVDetails.SelectedRow;
But i do not see the data ... is there some other way of selecting the row? searched a lot but no use.. plzz help
Loading
Kavita BPosted Jul 27, 2011, 5:08 AM
Sir how can we work on dynamic gridview ?
Suthish NairPosted Jul 27, 2011, 2:16 AM
Ok, then you need to use e.RowIndex to find the row value..
GridViewRow row = GVDetails.Rows[e.RowIndex];
Why dont' refer an msdn article
Kavita BPosted Jul 27, 2011, 1:52 AM
Calling that on onrowupdating="GVDetails_RowUpdating"...
I have an edit linkbutton on click i get 2 linkbuttons ie update and cancel..
Suthish NairPosted Jul 27, 2011, 1:37 AM