Tuesday, April 5, 2011

select gridview(template column) row index on button click

   GridViewRow row = ((Button)sender).Parent.Parent as GridViewRow;
    int index = row.RowIndex;

0 comments:

Post a Comment