public void ProcessRequest(HttpContext context) { JavaScriptSerializer ser = new JavaScriptSerializer(); zues pp2 = new zues(); List<NClass> kk = pp2.getJNationalClasses(); context.Response.ContentType = "application/json"; context.Response.Write(ser.Serialize(kk)); }
public void ProcessRequest(HttpContext context) { var pp = context.Request["vid"]; String dd = ""; JavaScriptSerializer ser = new JavaScriptSerializer(); Ipong.Classes.zues pp2 = new Ipong.Classes.zues(); List<XObjs.Office_view> kk = pp2.getNew_MarkInfoRSX5(pp); // XObjs.Registration kk = pp2.getRegistrationBySubagentRegistrationID(pp); context.Response.ContentType = "application/json"; context.Response.Write(ser.Serialize(kk)); }