Question using XMLSchema in C#.net

R

rancidpunx

Hello!

I have a couple of questions about using XMLSchemas in C#.net.

- I want to store data from 5 database-tables in XML Files. Do i need
one schema for every table?

- I want to store every table in an explicit XML-File! Can i also do
this using just one schema AND...

- I want to read the XML-Data to a DataSet! How can i do this if my
data is in different XML-Files (refers to the question above!)

Hope anyone can help me out!
 
G

Guest

RancidPunx,

An XML Schema is an xml document that describes the elements and datatypes
of the XML Document that will hold your table data. So, if the tables are
different, and you want to use a schema, you'll need to have a schema for
each table.

To read XML Data into a DataSet, you can use the DataSet's ReadXml method.
It has a number of overloads some of which allow you to supply a schema.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top