We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can load DataTable from XML?

Thread ID:





55294 Jan 26,2007 06:28 PM UTC Jan 29,2007 09:22 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On January 26, 2007 06:28 PM UTC

Hi there,
The DataTable object has a method ReadXML(), but when I try to use it, I get a runtime error saying DataTable does not support schema inference from XML. Can you help? What is the best approach for loading a combo with data from XML?

DataTable dt = new DataTable("Table1");
dt.ReadXml("PortfolioList.xml"); //Runtime error here


Murugan [Syncfusion]
Replied On January 29, 2007 09:22 PM UTC

Hi Dimitri,

Herewith I have attached the sample for your requirement. Please have a look at the sample and let me know if it helps.


If the problem still exists, please refer the forum article below

DataTable does not support schema inference from Xml

Thanks for using Syncfusion products.

Murugan P.S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon