private void GetMaxSequence(HttpContext context) { ProductInfo info = new ProductInfo(); JsonObject obj2 = new JsonObject(); string categoryPath = context.Request.Form["CategoryPath"]; obj2.Put("STATUS", "SUCCESS"); obj2.Put("DATA", info.MaxSequence(categoryPath) + 1); context.Response.Write(obj2); }