public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReportyasadigiyer rpt = new CrystalReportyasadigiyer();

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
        private void yasadigiyerrapor_Load(object sender, EventArgs e)
        {
            tablo.Clear();
            SqlDataAdapter adtr = new SqlDataAdapter("select * from peryasyer", con);

            adtr.Fill(tablo);
            CrystalReportyasadigiyer rapor = new CrystalReportyasadigiyer();

            rapor.SetDataSource(tablo);
            crystalReportViewer1.ReportSource = rapor;
        }