Solved

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

Posted on 2004-08-19
2
895 Views
Last Modified: 2012-08-13
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
Comment
Question by:hogan9111
2 Comments
 

Accepted Solution

by:
vidyavrat earned 30 total points
ID: 11858300
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
 

Author Comment

by:hogan9111
ID: 11864121
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question