Adding numeric datatype columns' content in a datagrid

  • Thread starter Thread starter .Net Sports
  • Start date Start date
N

.Net Sports

I'm trying to display the total of a list of numbers in a datagrid. The
numbers (dollaramount in sales) will be part of a dataset according to
the date queried. I will display the total in the footer row. What is
the best way to calculate the total of "dollar amount in sales" and
carry that sum into the footer (dollaramount column), as I've looked at
various resources, but they don't explain this very clear.
Thanks in advance, .NetSports
 
Use PreRender event. Loop through the data items, calculate the sum, and set
it in the footer.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top