新人求教,能给解释下这段代码怎么回事么?
net吧
全部回复
仅看楼主
level 1
public void getUserLogin_Ajax(string strName, string strPassword)
{
Login lg = new Login();
string strRe = lg.getUserLogin(strName, strPassword);
HttpContext.Current.Response.ContentType = "application/json;charset=utf-8";
string jsonCallBackFunName = string.Empty;
jsonCallBackFunName = HttpContext.Current.Request.Params["jsoncallback"].ToString();
HttpContext.Current.Response.Write(jsonCallBackFunName + "(" + strRe + ")");
HttpContext.Current.Response.End();
}
2015年12月29日 04点12分 1
level 1
干嘛用的
2015年12月29日 04点12分 2
1