Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            urolojilist rpt = new urolojilist();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void UrolojiList()
        {
            frmUrolojiListe lst = Application.OpenForms["urolojilist"] as frmUrolojiListe;

            urolojilist cr  = new urolojilist();
            var         src = (from s in db.UrolojiFulls
                               select s).ToList();

            if (src != null)
            {
                PrintYardim ch = new PrintYardim();
                DataTable   dt = ch.ConvertTo(src);
                cr.SetDataSource(dt);
                crystalReportViewer1.ReportSource = cr;
            }
        }