View Full Version : get data in database & count it in source code


sulistyanto
09-12-2006, 09:53 PM
can somebody help me?iwant to take data in database and doing mathematical operation in sourcecode and the result back to the database inthe same table,same row.
my e-mail:t1yo_bdg@yahoo.com

skea
10-02-2006, 11:55 PM
Make a connection to the database
create a command object and execute your SQL statement against it to give you the data from the database.
You may use a dataset to get the data into variables or text boxes on your form. Then just do the normal mathematics.