VB.NET = How can i display the total value in textbox which is calculated in sql COUMN UNIT based on id

JIM DASMA 21 Reputation points
2021-10-18T16:45:14.637+00:00

141408-s.png

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
0 comments No comments
{count} votes

Accepted answer
  1. Karen Payne MVP 35,036 Reputation points
    2021-10-18T16:53:22.077+00:00

    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.


1 additional answer

Sort by: Most helpful
  1. JIM DASMA 21 Reputation points
    2021-10-19T11:19:27.187+00:00

    any code please