Private Function CreditTotal() As Double
Dim mctot As Double
Dim i As Integer
For i = 0 To PrivateDataTable.Rows.Count - 1
mctot = mctot + PrivateDataTable.Rows(i)(2)
Next i
Return mctot
End Function
hi again... i try the solution of cjard, and it work but
when i move to the new row in datagridview(blank row)
the total textox is empty too...
can i solve this?