Calculations in vb.net
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi. Does anyone have idea of doing calculations using vb.net? when the button is clicked and invoked, the points in the database should be deducted. I have no experience of doing calculation before.
I don't have any experience, but you do math in tsql, So you just execute a giant tsql command, that gets the current value, does math, and updates it with a new value, all in tsql. [EDIT] Took a while to find a decent example of sql math, that would apply to you http://www.mssqltips.com/sqlservertip/1547/calculating-mathematical-values-in-sql-server/[^]