r/visualbasic • u/[deleted] • Apr 15 '20
Visual Basic and DataTables Guide
Hello!
I have struggled with data tables, how to use them, and understand all the methods for them. If I can't find code close enough to what I want to do, then I can't use them. I was wondering if there was a video tutorial series that does an in-depth explanation of data tables and how to use them to different things properly..? I want to learn to think for myself when utilizing them and not just find other people's code.
6
Upvotes
1
u/Bonejob VB Guru Apr 15 '20
The best description I can find is;
https://www.dotnetperls.com/datatable-vbnet
In reality a datatable is a collection of datacolumn and datarow objects.
You start by defining you columns. Each column has a single DataType
This defines the structure of information you will be placing in the columns.
The you add the rows by creating a new row and populating it.
Hope this helps;