Esempio n. 1
0
 public XtraReportExport(int IDDocument)
 {
     InitializeComponent();
     this.IDDocument = IDDocument;
     objectDataSource1.DataSource = re.getInfoExport(IDDocument);
     objectDataSource2.DataSource = re.getDetailExports(IDDocument);
     pDoiSoThanhChu.Value         = re.TienBangChuExport(IDDocument);
     pDoiSoThanhChu.Visible       = false;
 }
Esempio n. 2
0
 private void frmReportDocumentExport_Load(object sender, EventArgs e)
 {
     DetailDocumentExportBindingSource.DataSource = re.getDetailExports(IDDocument);
     InforDocumentExportBindingSource.DataSource  = re.getInfoExport(IDDocument);
     this.reportViewer1.RefreshReport();
 }