%@ Page Language="C#" AutoEventWireup="true" %> <%@ Import Namespace="CLIPreport.OOF"%> <% ReportUtil reportUtil = ReportUtil.getInstance(); Response.AddHeader("Cache-Control", "no-cache, no-store"); OOFDocument oof = OOFDocument.newOOF(); // Set report title oof.setTitle("수료증"); OOFFile file = oof.addFile("crf", "certificationpast.crf"); // DB Connection oof.addConnectionData("*","lmsynicte"); // Add Field oof.addField("lectno",Request.QueryString["lectno"].ToString()); //############################################################################################################################## //############################################################################################################################## // [Example] Inserting data in XML format from HTTP. //file.addConnectionHTTP("*", "http://rexpert.clipsoft.kr/rebfiles/demo/resign.xml", null).addContentParamXML(); //################################################################# ############################################################# //############################################################################################################################## // [Example] Inserting JSON data. //file.addConnectionMemo("*", "{\"value\":200}" ).addContentParamJSON(); //############################################################################################################################## // Create a Report key. // This key is used in the Javascript-based report viewer. String reportKey = reportUtil.createReportToKey( oof); //############################################################################################################################## // [Example] You can use the comment code below. //String reportKey = reportUtil.createReportToKey(response, oof, request.getCharacterEncoding()); //String reportKey = reportUtil.createReportToKey(response, oof.toBase64()); //String reportKey = reportUtil.createReportToKey(response, oof); //############################################################################################################################## %>