I have a Datagrid where you can show it with AllowPaging=true and AllowPaging=false depending on the Paging mode preferred via a button.
Using DataGrid.Items.Count returns the total number if you use AllowPaging=false and returns only the number for that one page if you use AllowPaging=true.
Any other methods come to mind - is there some way to get the number of rows from a SQL Select statement other than having to do another Select Count?
Thanks for any help here.
Using DataGrid.Items.Count returns the total number if you use AllowPaging=false and returns only the number for that one page if you use AllowPaging=true.
Any other methods come to mind - is there some way to get the number of rows from a SQL Select statement other than having to do another Select Count?
Thanks for any help here.