protected void Page_Load(object sender, EventArgs e) { Response.ContentType = "text/xml;charset=utf-8"; Response.Charset = "UTF-8"; string strXML = Request["txtXML"]; Response.Write(AffairType.affairTypeList(strXML)); }
/// <summary> /// 获得事件类表 /// </summary> /// <param name="Request"></param> /// <param name="Response"></param> /// <returns></returns> public string affairTypeList(HttpRequest Request, HttpResponse Response) { string strXML = Request["txtXML"]; return(AffairType.affairTypeList(strXML)); }