JQueryAjax
jquery 简化了 ajax的开发 using System; using System.Web; using System.Web.SessionState; public class HandingPersonInfo : IHttpHandler,IReadOnlySessionState { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; string ID = context.Request.Form["ID"]; string middelName = context.Request.Form["MiddleName"]; string lastName=context.Session[& quot;LastName"].ToString(); string Name = ID + " " + middelName + " " + lastName; context.Response.Write(Name); } public bool IsReusable { get { return false; } } } quot;LastName"].ToString(); string Name = ID + " " + middelName + " " + lastName; context.Response.Write(Name); } public bool IsReusable { get { return false; } } }
用户评论