I have a gridview that shows (50)rows of data per page. I have the Total showing for the Amount that is shown due to a previous request by the user. Now they want to have the total for the Entire result, regardless of what page they are on. How do I do that?
I did the following for my Complete Total Count:
After the Gridview result gets populated in table
Count = dsReport.DataTable1.Count;
My plan for the Complete Total that has so far failed:
for (int i = 0; i < Count; i++)
{ Total += dsPoint.DataTable1.Columns[3].Row[i]; ??? I dont know what to do }
What is the sum of the specific Decimal Column[3]? Even though I display 50 results, I need the Total for the ENTIRE column.