Hi
is your grid bound to a dataset ?
Then
dim x as double = dsSale.Tables("Sales").com
and add the total at the end
Dim dr As DataRow = dsSale.Tables("Sales").New
'Put values into row
dr(0) = ""
dr(1) = "totalcost="
dr(2) = myvalue
dr(3) = "$"
'and so on, making sure you put values in any ...
'... fields/columns that do not allow null
dsSale.Tables("Sales").Row
vbturbo
Main Topics
Browse All Topics





by: SkwerlzPosted on 2009-01-09 at 16:44:58ID: 23341749
Bumped up for response