How to Compute a Database Column in .NET
Posted
by Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2010-04-10T16:15:48Z
Indexed on
2010/04/10
16:23 UTC
Read the original article
Hit count: 265
visual-studio-2008
|vb.net
I have a Database named CarsType.accdb there are four fields in the data base Item_Name, Item_Num, Item_Qty, Item_Cost.
I am able to get the database to display my data in VisualBasic but I am not sure how to get the total cost to appear in my label (lblTotalCost). I prefer doing it in VB versus writing in my access program. All I am wanting to do it multiply item_qty * Item_Cost
How would I go about doing that?
© Stack Overflow or respective owner