I'm using VS 2005 and have an Object Data Source on my webform. I also have a gridview on the page that used the Object Data Source as it's datasource.
If I don't have Paging enabled on the gridview, I can easily display the total number of rows using:
gridview1.rows.count
Problem is that when I turn paging on, gridview1.rows.count will only display the current number of records returned according to the paging.
How can I display the total number of records avaiable while using the paging feature to only display 25 at a time?
Thanks in advance.
If I don't have Paging enabled on the gridview, I can easily display the total number of rows using:
gridview1.rows.count
Problem is that when I turn paging on, gridview1.rows.count will only display the current number of records returned according to the paging.
How can I display the total number of records avaiable while using the paging feature to only display 25 at a time?
Thanks in advance.