Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
saidev
Posting Yak Master
101 Posts |
Posted - 2006-07-13 : 18:18:27
|
Hi Guys,I am just populating the data on the form and i want to sum thisrateactual column. how can i do this in VB.NET/ASP.NET If objdatarow("rateactual") Is DBNull.Value Then rateactual = 0 Else Me.txtinvoicetotal.Text = objdatarow("rateactual") End IfAppreciate your help,Thanks, |
|
Srinika
Master Smack Fu Yak Hacker
1378 Posts |
Posted - 2006-07-14 : 08:18:27
|
Is this code inside a loop ? if so define a variable & use asvariable_rateactual = variable_rateactual + objdatarow("rateactual")-- U may need to convert objdatarow("rateactual") to numericor u can query the Database-Table and get the results.Srinika |
 |
|
|
|
|