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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void uye_rapor_Load(object sender, EventArgs e)
        {
            uye_report rapor = new uye_report();
            DataSet    ds    = new DataSet();

            ds.Clear();
            SqlDataAdapter adptr = new SqlDataAdapter("select  * from kutuphanedb.dbo.uye_tablo", baglanti);

            adptr.Fill(ds);
            rapor.SetDataSource(ds);
            // rapor.SetParameterValue("param_Tarih", "NULL");
            crystalReportViewer1.ReportSource = rapor;
            crystalReportViewer1.Refresh();
        }