开发者

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];
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜