Iam developing an application where i need to read data from an xml file and need to show the data in a combobox. I have followed the example from net and completed the application. But now i need the path of the file from a the bin or from the application startup.
<Grid.Resources>
<!--<Path> string currpath ="System.AppDomain.CurrentDomain.BaseDirectory"</Path>-->
<XmlDataProvider x:Key="AppConfig" **Source="Z:\\AppConfiguration.xml"** XPath="Configuration"/>
</Grid.Resources>
Now i want Source from the application path where the file will be stored. Thanks in advance.