public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; List <t_StoreHouse> list = StockStatusManages.getA(); context.Response.Write(JsonConvert.SerializeObject(list)); }
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; int a = Convert.ToInt32(context.Request["a"]); List <t_StoreHouseDetail> list = StockStatusManages.getA(a); context.Response.Write(JsonConvert.SerializeObject(list)); }
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; int index = int.Parse(context.Request["page"]); int count = int.Parse(context.Request["rows"]); context.Response.Write("{\"total\":" + StockStatusManages.StockStatuscount() + ",\"rows\":" + JsonConvert.SerializeObject(StockStatusManages.StockStatusinfo(index, count)) + "}"); }
public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string subName = context.Request["Subname"]; string StoreName = context.Request["storeName"]; int index = int.Parse(context.Request["page"]); int count = int.Parse(context.Request["rows"]); context.Response.Write("{\"total\":" + StockStatusManages.StockStatuscounta(subName, StoreName, index, count) + ",\"rows\":" + JsonConvert.SerializeObject(StockStatusManages.StockStatusgetStoreName(subName, StoreName, index, count)) + "}"); }