I have a GridView with paging. When I try to count gridview row with gridview.rows.count, It gives me row count for current page only.
How can I get total rows of G
yes, that's true, it will only return the current page rows only. If you really want to get the total row count, you need to get from your datasource instead.
Like... if you have DataTable then it will be like...
DataTable.Rows.Count