FilePath in xml file

Posted by sanjeev40084 on Stack Overflow See other posts from Stack Overflow or by sanjeev40084
Published on 2010-04-08T14:18:36Z Indexed on 2010/04/08 14:23 UTC
Read the original article Hit count: 456

Filed under:
|

In C#, Whenever i need to get file path more dyanmically, i do something like this

string filePath = System.IO.Path.GetFullPath(@"..\..\TestData\TestFile.xls");

Is there anyway, i can mention same file path in xml file.

<ConfigValue name ="filePath" value="<filepath like above>"/>

© Stack Overflow or respective owner

Related posts about Xml

Related posts about c#