Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            frmFaturaListesi rpt = new frmFaturaListesi();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void FaturaList()
        {
            frmFaturaKesListe kl = Application.OpenForms["frmFaturaKesListe"] as frmFaturaKesListe;

            frmFaturaListesi ft = new frmFaturaListesi();

            var lst = (from s in _db.vwFaturaKes
                       select s).ToList();

            if (lst != null)
            {
                PrintYardım ch = new PrintYardım();
                DataTable   dt = ch.ConvertTo(lst);
                ft.SetDataSource(dt);
                crvPrint.ReportSource = ft;
            }
        }