Accessing an XML file through strong typed dataset

R

Robert Bravery

HI all,

I have an xml file, I need to be able to read the data into strong typed
dataset for further use in my application
Can someone point me to documentation as to how I can do this. I have
absolutley no idea where to start.

Robert
 
R

Robert Bravery

HI,
Thanks

sloan said:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!148.entry


...


There are 2 options:

1. Your xml already matches the schema of the DataSet. Then all you need
is
MyStrongDS ds = new MyStrongDS();
ds.ReadXml();

Yes it does, so this might be the best option.
2. Your original source xml does not match the DataSet schema. Use my
blog
entry.


Read the blog entry either way.
yes I will

Thanks
Robert

---
avast! Antivirus: Inbound message clean.
Virus Database (VPS): 000742-0, 21/05/2007
Tested on: 21/05/2007 07:08:07 PM
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 000742-0, 21/05/2007
Tested on: 21/05/2007 07:10:23 PM
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com
 
S

sloan

//> Yes it does, so this might be the best option.//



Then read the MS KB I mention at the blog.
 

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

Top