VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,562 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Use a DataTable with a column with an expression for row calculations. To cover a grand total and considering adding, editing and removing rows you need to tie into DataTable events.
The following code sample is done with ms-access which really does not matter as all you need to be interested in is after the DataTable is populated.