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

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

            hastatakiplist cr  = new hastatakiplist();
            var            src = (from s in db.HastaTakips
                                  select s).ToList();

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