Link to home
Start Free TrialLog in
Avatar of sah18
sah18Flag for United States of America

asked on

ASP.NET - VB.NET - Need example syntax of how to create DataTable object from SQL table AND how to bind a DataGrid to that DataTable object

I'm working in ASP.NET, VB.NET.  I'm looking for example syntax of the following:

1. how to create DataTable object from SQL table

2. how to bind a DataGrid to that DataTable object

Also, I'm confused as to whether or not you must use a DataSet for my question #1, or if you can do this by creating a DataTable only.

thank you!!
ASKER CERTIFIED SOLUTION
Avatar of spdude
spdude

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sah18

ASKER

thank you!