c# - Get total from SqlDataSource -
I have a gridview that is bound to a data source, sometimes a few thousand lines. In order to avoid such a huge grid, the results have been salvaged.
I need to get the total number of some decimal columns - I currently do a different query which is quite a size data source Is there any way that I can go through all the rows in the data source, and I can get the total? I used to do it by counting onRowDataBound, but it is no longer an option because of paging.
ah
example:
Generally the UI should not be counted but "x over the rows"
Example:
- Load 501 rows
- Cut a line
- Say the result in more than 500 rows < / Li>
Finish.
This works the most active intersection, which includes all active directory mangement.
Comments
Post a Comment