Hi, I'm using VB.net 2005.
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:
as with a database, but that didn't work.
Is there anything similar that I can do? Please help!
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:
Code:
DsDetails1.ReadXml("|DataDirectory|\Details.xml")
Is there anything similar that I can do? Please help!
Comment