Click here to Skip to main content
15,991,360 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
How To Pass URL of XML File ???
Posted

1 solution

Although your question's content and header is totally different..

But according to content..I think following line could help you.



xmlDoc.Load(@"D:\Sample.xml");




:)


EDITED: I hope following link could fulfill your requirements...

http://support.microsoft.com/kb/307643[^]
 
Share this answer
 
v2
Comments
VICK 4-Oct-13 4:27am    
Kindly check the edited solution....
VICK 4-Oct-13 6:15am    
Mithiten Dear.. main Problem is to get the file from server... once you get the file from server[which is quite clear in the article]. than you can simply load that file by

Xml.Load , alter it by adding tags or by values and dn save it...

VICK 4-Oct-13 6:16am    
WEll can u tell me your complete requirements???

File is on server, u want to get it, write something in it and resave it on server

OR

you want to create a new xml file on server?
VICK 4-Oct-13 6:22am    
Okay.. So you got how to connect to server??? have u succeed in that????
Mithiten 4-Oct-13 6:21am    
XmlTextWriter writer = new XmlTextWriter("http://Fullurl",null);

FullUrl --> my address

but its not work gives error URI formats are not supported.

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