Beispiel #1
0
        private void Detail_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            JIRAP01_01 detail1 = xrSubreport1.ReportSource as JIRAP01_01;

            detail1.FilterString = "";

            detail1.paramID1.Value = GetCurrentColumnValue("BILL_NO");
        }
Beispiel #2
0
        private void JIRAS01_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            JIRAP01_01 detail1 = xrSubreport1.ReportSource as JIRAP01_01;

            DevExpress.XtraReports.UI.XtraReport rptTmp = (DevExpress.XtraReports.UI.XtraReport)sender;

            detail1.DataSource = rptTmp.DataSource;
            detail1.DataMember = "dt2";
        }