Click to See Complete Forum and Search --> : Save Method


netKen
01-12-2010, 01:17 PM
can a Save method download multi (For loop) xmldocument into a folder?

Kor
01-12-2010, 02:16 PM
The Save method of which language?

netKen
01-12-2010, 03:34 PM
sorry, didnt know where to post it, it concern both Xml and C#
I want to download xmldocument directly into a folder in my hd with for loop, dont know which method to use, now it only takes 1 document

for (int i = 3483; i < 3583; i++)
{
string sFile = string.Format("http://www.somedomain/../...id=1&omgang={0}", +i);
XmlDocument doc = new XmlDocument();
doc.Load(sFile);
doc.Save(Application.StartupPath + "/test.xml");