Solved

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

Posted on 2004-08-19
2
898 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

737 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