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
{
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();
}