Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            Transaksi rpt = new Transaksi();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void cetak()
        {
            cmd = new SqlCommand("select * from trans where no_kwi = '" + t_id + "'", con.getCon());
            da  = new SqlDataAdapter(cmd);
            ds  = new DataSet();
            da.Fill(ds, "trans");
            Transaksi tr = new Transaksi();

            tr.SetDataSource(ds);
            crystalReportViewer1.ReportSource = tr;
            crystalReportViewer1.Refresh();
        }