Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to read a xml file which is in the project..?
C#
XmlTextReader reader = new XmlTextReader("???????????");//what i write here..?


I am getting filenotfound Exception.
Posted
Updated 17-Aug-11 22:40pm
v4

 
Share this answer
 
The URL for the file containing the XML data. The BaseURI is set to this value.[^]

Generally a quick look in the documentation goes a long way.
 
Share this answer
 
You need to write the path of your xml file.
http://support.microsoft.com/kb/307548[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900