【发布时间】:2015-01-11 12:21:46
【问题描述】:
我有通用处理程序,它以字符串形式返回 XML。我该怎么称呼他?
int userid = 1;
string xmlString = string.Format("~/XMLHandler.ashx?userId={0}", userid); // here I need returned string from handler
System.IO.StreamWriter file = new System.IO.StreamWriter("e:\\vypujcky.xml");
file.WriteLine(xmlString);
file.Close();
【问题讨论】: