there are many ways
1. count the rows in the database
2. count the rows in the datatable/list<>
3. count the rows in the gridview
that fact that your post is so basic and there are many posts on how to do this (both tek-tips and the web) suggest you didn't spend anytime researching the topic.
I'm not saying that's what you did/didn't do, but it presents itself that way.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.