Link to home
Start Free TrialLog in
Avatar of hogan9111
hogan9111

asked on

vb.net the difference btw dataset1.xsd and hardcoding a dataset in the program

I noticed that there is an item u can add to your solution that is called dataset1.

Now in my programs I usually do something like this


 Public datatable As New DataTable
comad.CommandText = "Select * from table1"
dat.SelectCommand = comad
        dat.Fill(datatable)
       grid1.DataSource = datatable
what is the difference between dataset and datatable.

Also to have a dataset do u need to add a physical file??? or an u hard code. Also what is the best way to connect a database to a crystal report


please provide details and sample.

ASKER CERTIFIED SOLUTION
Avatar of vidyavrat
vidyavrat

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 hogan9111
hogan9111

ASKER

is it basically just a physical view versus the way I hardcode it in my code, please be descriptive, new to this.