标签: c# asp.net gridview
我是asp.net C#的新手,我需要获得gridview的总行数以及当前的网格行...?
答案 0 :(得分:1)
庵:
gridView.Rows.Count gridView.SelectedIndex -- gives the index of the current row.