5
Answers

Populate Treeview with all tables and columns of a database from dataset

Ask a question
keepafloat

keepafloat

15y
11.4k
1
I am new in VB. I need to load the tables and columns of a database into a windows form treeview. I know how to bring the information back as a dataset but all the stuff online doesn't show how to load all the tables in a database(as parent) and all the columns (as child) in the the treeview as a dataset.  I have to allow the person to build their SQL statment from the things they select in the treeview. I can't get the treeview working, let alone trying to work on the rest.

Answers (5)