public void ProcessRequest(HttpContext context)
 {
     //String associate_id = context.Session["associate_id"].ToString();
     String associate_id = "909";
     CFinleyBO BO = new CFinleyBO();
     var res = BO.GetAssociateDetails(associate_id);
     context.Response.ContentType = "text/plain";
     JavaScriptSerializer js = new JavaScriptSerializer();
     context.Response.Write(js.Serialize(res));
 }
        public void ProcessRequest(HttpContext context)
        {
            //String associate_id=context.Session["associate_id"].ToString();
            String associate_id = "909";
            String associate_name=context.Request.QueryString["associate_name"];
            String address = context.Request.QueryString["address"];
            String city = context.Request.QueryString["city"];
            String mobile = context.Request.QueryString["mobile"];
            String email = context.Request.QueryString["email"];

            CFinleyBO BO = new CFinleyBO();
            BO.UpdateAssociate(associate_id,associate_name,address,city,mobile,email);
            context.Response.ContentType = "text/plain";
            context.Response.Write("200");
        }