IIS ASP - Calculate total in repeat region

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > June 2006 > Calculate total in repeat region





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Calculate total in repeat region
Simon Gare

2006-06-17, 1:28 pm

Hi,

I need to calculate a total based on fields in a repeat region, these values
are stored in an SQL db, all are numeric and written in ASP.

fields are

TOTAL_COST VAT GRANDTOTAL (Page selects records based on
field parameter and displays in a repeat region)


At bottom of page need to show total sum like

TOTAL_COST(sum of above)
VAT(sum of above)
GRANDTOTAL(sum of above)

Thanks in advance
Simon


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com