开发者

need to get total rows of a grid

开发者 https://www.devze.com 2022-12-28 12:32 出处:网络
i\'m new in asp.net C#, i need to get total rows for开发者_StackOverflow社区 gridview and also current row of grid...?Um:

i'm new in asp.net C#, i need to get total rows for开发者_StackOverflow社区 gridview and also current row of grid...?


Um:

gridView.Rows.Count

gridView.SelectedIndex  -- gives the index of the current row.
0

精彩评论

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