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.

hogan9111Asked:
Who is Participating?
 
vidyavratConnect With a Mentor Commented:
The .XSD file represents Typed dataset in ADO.NET, which offers easy access to all the tables in dataset, and columns in the table.


0
 
hogan9111Author Commented:
is it basically just a physical view versus the way I hardcode it in my code, please be descriptive, new to this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.