.
Friday, October 7, 2011
getting File path in window application for reading xml file
string xmlfileName = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\" + "Orders.xml";
DataSet dsXml = new DataSet();
dsXml.ReadXml(xmlfileName);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment