recordset processing

C

Carlos

Hi all,

I am new to asp .net, and now I need to access a database,
and accumulate totals according to values that I find on each row
with a given condition. Can anybody show me a code snipet addressing
such task ? Thanks in advance.

Carlos
 
C

Carlos

Thanks Eliyahu,

I just need to accumulate totals from a particular field without showing
data.

Carlos.
 
E

Eliyahu Goldin

Then it is a sql task. Write a query using sql aggregate functions and debug
it with a utility that runs queries against your database.

If for whatever reason you still need to do it in the code, use database
access components connection, command and reader. You can find plenty of
examples in MSDN.

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top