Exemple #1
0
 public void ProcessRequest(HttpContext context)
 {
     BLL.Products bllPro=new BLL.Products();
     int cid = Convert.ToInt32(context.Request.Form["catid"]);
     List<MODEL.Products> list = bllPro.GetProductsByCid(cid);
     JavaScriptSerializer jss = new JavaScriptSerializer();
     context.Response.Write(jss.Serialize(list));
 }