Reputation: 857
i'm new in asp.net C#, i need to get total rows for gridview and also current row of grid...?
Upvotes: 0
Views: 228
Reputation: 33867
Um:
gridView.Rows.Count
gridView.SelectedIndex -- gives the index of the current row.
Upvotes: 1