How can i get the row selected in the DataGrid or GridView?
Can i get the row selected in th GridView or DataGrid in ASP.NET? Please help regarding开发者_运维技巧 this issue.
protected void GridView1_SelectedIndexChanging (object sender, GridViewSelectEventArgs e)
{
GridViewRow row = GridView1.Rows[e.NewSelectedIndex];
}
精彩评论