Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 912
  • Last Modified:

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.

0
hogan9111
Asked:
hogan9111
1 Solution
 
vidyavratCommented:
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now