예제 #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));
        }
예제 #3
0
        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)) + "}");
        }
예제 #4
0
        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)) + "}");
        }