public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport1 rpt = new CrystalReport1(); rpt.Site = this.Site; return(rpt); }
private void button2_Click(object sender, EventArgs e) { Cursor = Cursors.WaitCursor; DataSet1 ds = new DataSet1(); DataSet1TableAdapters.MutasiTableAdapter mtasi = new DataSet1TableAdapters.MutasiTableAdapter(); mtasi.FillByno_su(ds.Mutasi); ReportClass rpt = new CrystalReport1(); rpt.SetDataSource(ds); Form f2 = new FormMut(rpt); f2.ShowDialog(); Cursor = Cursors.Default; }