Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / XML / November 2005

Tip: Looking for answers? Try searching our database.

Use of classes and datasets generated with xsd.exe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
f.de.matos@gmail.com - 23 Nov 2005 11:58 GMT
Hello,

these are my first steps with vs2005 (and xml at all), so please be
patient with me :-)
Here is what i'm trying to achieve:

Given a xml file with the following structure (simplified):
<letters>
<letter name="A">
 <sound>A.wav</sound>
</letter>
</letters>

i've generated a xsd file and using this new xsd file i've generated a
class within my windows application project.
No problem so far, i'm able to instantiate a new object from this class
and read the xml file using a Xmlserializer together with a filestream.

But know, i want to fill the NewDataSet1 (based on the NewDataSet
object xsd created for me) with the content of the xml file.
This way a may search and filter <letter> items within a DataSet table
just like if it were a database.
Here is where i have the gap :-(
Could someone of you please explain me shortly, which steps it takes to
instantiate this dataset, relate it to the "letters" object and finally
bind it?

Many thanks in advance for your help.

Filipe
ship261 - 30 Nov 2005 18:58 GMT
What else can i do with it

---------------------------------
http://community.ihostasp.ne
ASP.NET Developer Community

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.