Example #1
0
 private void FillEFTReportParamter()
 {
     Microsoft.Reporting.WinForms.ReportParameterCollection reportParameters = new Microsoft.Reporting.WinForms.ReportParameterCollection();
     reportParameters.Add(new Microsoft.Reporting.WinForms.ReportParameter("pCode", itemnumber));
     reportParameters.Add(new Microsoft.Reporting.WinForms.ReportParameter("pTransNo", PaymentMode));
     this.reportViewer1.ServerReport.SetParameters(reportParameters);
     this.reportViewer1.RefreshReport();
 }
Example #2
0
 private void Fillpurchasereq()
 {
     Microsoft.Reporting.WinForms.ReportParameterCollection reportParameters = new Microsoft.Reporting.WinForms.ReportParameterCollection();
     reportParameters.Add(new Microsoft.Reporting.WinForms.ReportParameter("pReqno", itemnumber));
     this.reportViewer1.ServerReport.SetParameters(reportParameters);
     this.reportViewer1.RefreshReport();
 }
Example #3
0
 private void FillServiceReportParamter()
 {
     Microsoft.Reporting.WinForms.ReportParameterCollection reportParameters = new Microsoft.Reporting.WinForms.ReportParameterCollection();
     reportParameters.Add(new Microsoft.Reporting.WinForms.ReportParameter("ReqNumber", itemnumber));
     this.reportViewer1.ServerReport.SetParameters(reportParameters);
     this.reportViewer1.RefreshReport();
 }
 private void Fillwrokdorderreport()
 {
     Microsoft.Reporting.WinForms.ReportParameterCollection reportParameters = new Microsoft.Reporting.WinForms.ReportParameterCollection
     {
         new Microsoft.Reporting.WinForms.ReportParameter("pWorkOrder", itemnumber)
     };
     if (WORelease != "")
     {
         reportParameters.Add(new Microsoft.Reporting.WinForms.ReportParameter("BalloonRef", WORelease));
     }
     if (WONotes != "")
     {
         reportParameters.Add(new Microsoft.Reporting.WinForms.ReportParameter("Notes", WONotes));
     }
     this.reportViewer1.ServerReport.SetParameters(reportParameters);
     this.reportViewer1.RefreshReport();
 }