hi,
how we can count total data in gridview in paging
like this......... 1of 10 11
hi,
how we can count total data in gridview in paging
like this......... 1of 10 11
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Apr 18, 2009, 7:57 AM
Dividing number of Rows by Grid Views page Size
to Get Number of Rows of Data Displayed in Grid
Use Select count(*) from
divide that Number of rows with GridViews PageSize
ie int x = GridView1.PageSize
Happy Coding :)