Here is a Simple one line code to import xml file to dataset :-
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("XMLFile.xml"), XmlReadMode.InferSchema);
Hope this will be helpful!
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("XMLFile.xml"), XmlReadMode.InferSchema);
Hope this will be helpful!
No comments:
Post a Comment