public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; //context.Response.Write("Hello World"); TreasureFacade treasureFacade = new TreasureFacade(); DataTable offPayQrCodeList = treasureFacade.GetOffPayQrCodeInfo(); string json = DataTableToJson(offPayQrCodeList); context.Response.Write(json); }