How to load xml into dataset?

 Posted by Rajni.Shekhar on 4/11/2012 | Category: ASP.NET Interview questions | Views: 1607 | Points: 40

Using following lines of code, we can read xml file and load it into data set.

DataSet objDS = new DataSet();

objDS.ReadXml("myfile.xml", XmlReadMode.ReadSchema);

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response