views:

31

answers:

1

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

+1  A: 

Um:

gridView.Rows.Count

gridView.SelectedIndex  -- gives the index of the current row.
Paddy
Thanks for helping
leonyx
No problem - feel free to accept the answer (big tick beside it), if you think it's correct.
Paddy