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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER