Esempio n. 1
0
        private void UrunAlis()
        {
            frmUrunAlis    alis = Application.OpenForms["frmUrunAlis"] as frmUrunAlis;
            UrunAlisReport cr   = new UrunAlisReport();

            var         result = (from s in db.vwUrunAlisAltUsts where s.AlisGrupNo == GrupNo select s).ToList();
            PrintYardim ch     = new PrintYardim();
            DataTable   dt     = ch.ConvertTo(result);

            cr.SetDataSource(dt);
            crvPrint.ReportSource = cr;
        }
Esempio 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;
        }
Esempio n. 3
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;
            }
        }
Esempio n. 4
0
        private void StokGiris()
        {
            frmStokGiris stk = Application.OpenForms["frmStokGiris"] as frmStokGiris;
            rStokGiris   rsg = new rStokGiris();
            var          lst = (from s in db.vwStokGiris
                                where s.StokGirisNo == int.Parse(MainPage.Aktar)
                                select s).ToList();

            if (lst != null)
            {
                PrintYardim ch = new PrintYardim();
                DataTable   dt = ch.ConvertTo(lst);
                rsg.SetDataSource(dt);
                crvPrint.ReportSource = rsg;
            }
            MainPage.Aktar = "";
        }