Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            pSatis rpt = new pSatis();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void Satis()
        {
            AlSat.frmSatis als = Application.OpenForms["frmSatis"] as AlSat.frmSatis;
            pSatis         cr  = new pSatis();
            var            srg = (from s in _db.ViewUps
                                  where s.SatisNo == int.Parse(als.txtSatisNo.Text)
                                  select s).ToList();
            PrintYardim ch = new PrintYardim();
            DataTable   dt = ch.ConvertTo(srg);

            cr.SetDataSource(dt);
            crvPrint.ReportSource = cr;
        }