예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            report_feedback rpt = new report_feedback();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
 void cetak()
 {
     SqlConnection conn = konn.GetConn();
     {
         conn.Open();
         da = new SqlDataAdapter("select suka, tidaksuka FROM tb_feedback", conn);
         ds = new DataSet();
         da.Fill(ds, "tb_feedback");
         report_feedback myreport = new report_feedback();
         myreport.SetDataSource(ds);
         crystalReportViewer1.ReportSource = myreport;
         crystalReportViewer1.Refresh();
     }
 }