예제 #1
0
        private void simpleButton1_Click_1(object sender, EventArgs e)
        {
            Sorgula();
            Form18ARprt rprprotokoldefteri = new Form18ARprt();

            rprprotokoldefteri.DataSource = dtrapor;
            rprprotokoldefteri.DataMember = "Table";
            //rprprotokoldefteri.xrSubreport1.ReportSource.DataSource = dtrapor;
            //rprprotokoldefteri.xrSubreport1.ReportSource.DataMember = "Table";
            //rprprotokoldefteri.xrSubreport2.ReportSource.DataSource = dtrapor;
            //rprprotokoldefteri.xrSubreport2.ReportSource.DataMember = "Table";



            rprprotokoldefteri.Parameters[1].Value = dateEditBasTarih.DateTime;
            rprprotokoldefteri.Parameters[0].Value = dateEditBitTarih.DateTime;

            rprprotokoldefteri.Parameters[2].Value = Current.AktifDoktor.ToString();
            rprprotokoldefteri.Parameters[3].Value = Current.AktifDoktor.Unvan;
            rprprotokoldefteri.Parameters[4].Value = System.DateTime.Today;



            rprprotokoldefteri.ShowPreview();
        }
예제 #2
0
        private void simpleButton1_Click_1(object sender, EventArgs e)
        {
            Sorgula();
            Form18ARprt rprprotokoldefteri = new Form18ARprt();
            rprprotokoldefteri.DataSource = dtrapor;
            rprprotokoldefteri.DataMember = "Table";
            //rprprotokoldefteri.xrSubreport1.ReportSource.DataSource = dtrapor;
            //rprprotokoldefteri.xrSubreport1.ReportSource.DataMember = "Table";
            //rprprotokoldefteri.xrSubreport2.ReportSource.DataSource = dtrapor;
            //rprprotokoldefteri.xrSubreport2.ReportSource.DataMember = "Table";

            rprprotokoldefteri.Parameters[1].Value = dateEditBasTarih.DateTime;
            rprprotokoldefteri.Parameters[0].Value = dateEditBitTarih.DateTime;

            rprprotokoldefteri.Parameters[2].Value = Current.AktifDoktor.ToString();
            rprprotokoldefteri.Parameters[3].Value = Current.AktifDoktor.Unvan;
            rprprotokoldefteri.Parameters[4].Value = System.DateTime.Today;

            rprprotokoldefteri.ShowPreview();
        }