By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,150 Members | 1,357 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,150 IT Pros & Developers. It's quick & easy.

Saving/restoring strongly-typed DataTable to/from XML

P: n/a
I have a strongly-typed DataTable I need to save as XML and later
reload it.

I thought that all I had to do was:

menuDataTable.WriteXml(filename,XmlWriteMode.Write Schema);

And from another application do:

menuDataTable.ReadXml(filename);

But I keep getting... "DataTable 'ttMenuItemNS:ttMenuItem' does not
match to any DataTable in source."

Can anyone see what I am doing wrong here?

Thanks.

Jan 30 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.