r/visualbasic • • 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

3 comments sorted by

View all comments

2

u/andrewsmd87 Web Specialist Apr 15 '20

If you can visualize a data table as an excel file that might help. You have column headers, and then rows of data that fill all of those columns.

There are a lot of functions out there but I'd say the one I use the most is someTable.Select("col1 = true") where col1 = true is like a WHERE clause. It allows you to do sql style filtering on the data in the data table.