public void ProcessRequest(HttpContext context) { String associate_id = "909"; //String associate_id=context.Session["associate_id"].ToString(); CBusPassBO BO = new CBusPassBO(); var res=BO.GetBusPass(associate_id); JavaScriptSerializer js = new JavaScriptSerializer(); //Debug.WriteLine("rslt :" + js.Serialize(res)); context.Response.Write(js.Serialize(res)); context.Response.ContentType = "text/plain"; }