" + loginname + "
" + "" + name + "
//最后输出了,这个是cssrain的写法,貌似比macnie更JQ一点
$('
using System;
using System.Web;
using System.Text;
using System.Data;
public class Test : IHttpHandler {
public void ProcessRequest (HttpContext context) {
context.Response.StatusCode = 200;
context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
DataSet ds = new DataSet("AccountList");
ds = GetList("Account","AccountId","Loginname,Name",50,1,false, false,"1=1");
context.Response.ContentType = "text/xml";
context.Response.Charset = "GB2312";
context.Response.Clear();
context.Response.Write("\n " + ds.GetXml());
/*
StringBuilder sb = new StringBuilder();
sb.Append("");
sb.Append("
sb.Append("
sb.Append("
context.Response.Write(sb.ToString());
*/
context.Response.End();
}
public bool IsReusable {
get {
return false;
}
}
}