Pages

Tuesday, July 16, 2013

Get Server Path of any file

Method#1
string MyXmlPath = Request.PhysicalApplicationPath + "\\ImageGallery1.xml";


Method#2
ds.ReadXml(MapPath("ImageGallery1.xml"));

No comments:

Post a Comment