leonyx
leonyx

Reputation: 857

need to get total rows of a grid

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

Answers (1)

Paddy
Paddy

Reputation: 33867

Um:

gridView.Rows.Count

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

Upvotes: 1

Related Questions