Saturday, 7 September 2013

How i use XDocument.Load()?

How i use XDocument.Load()?

I have a xml file in a folder inner the proyect.. I use
XDocument.Load(string) How i do the string be generic (i mean, no write
the complete url)?
XDocument xml = XDocument.Load("c:/users/fede/documents/visual studio
2012/Projects/RegistroDeErrores/RegistroDeErrores/Modelo/Registro.xml");

No comments:

Post a Comment