Пример #1
0
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            List <t_StoreHouse> list = StockStatusManages.getA();

            context.Response.Write(JsonConvert.SerializeObject(list));
        }
Пример #2
0
        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));
        }