My dataset is called DsDetails1
My XML file is called details.xml
When I use ReadXML, is there any way that I can set the path of this XML file to be read to be the root of my VB sollution. I need to be able to move the project around to different computers while coding, and I do not want to change the connection string every time.
tried:
Expand|Select|Wrap|Line Numbers
- DsDetails1.ReadXml("|DataDirectory|\Details.xml")
Is there anything similar that I can do? Please help!