Ejemplo n.º 1
0
 /// <summary>
 /// Search function to fill the grid based on condition
 /// </summary>
 public void ReportSearch()
 {
     try
     {
         DataTable            dtblPDCClearnceReport = new DataTable();
         PDCClearanceMasterSP sppdcClearance        = new PDCClearanceMasterSP();
         dtblPDCClearnceReport         = sppdcClearance.PDCClearanceReportSearch(Convert.ToDateTime(dtpFrmDate.Value.ToString()), Convert.ToDateTime(dtpToDate.Value.ToString()), cmbAccountLedger.Text.ToString(), cmbVoucherType.Text.ToString(), txtVoucherNo.Text.ToString());
         DGVClraranceReport.DataSource = dtblPDCClearnceReport;
     }
     catch (Exception ex)
     {
         MessageBox.Show("PCREP5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Search function to fill the grid based on condition
 /// </summary>
 public void ReportSearch()
 {
     try
     {
         DataTable            dtblPDCClearnceReport = new DataTable();
         PDCClearanceMasterSP sppdcClearance        = new PDCClearanceMasterSP();
         dtblPDCClearnceReport         = sppdcClearance.PDCClearanceReportSearch(Convert.ToDateTime(dtpFrmDate.Value.ToString()), Convert.ToDateTime(dtpToDate.Value.ToString()), cmbAccountLedger.Text.ToString(), cmbVoucherType.Text.ToString(), txtVoucherNo.Text.ToString());
         DGVClraranceReport.DataSource = dtblPDCClearnceReport;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PCREP5:" + ex.Message;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Search function to fill the grid based on condition
 /// </summary>
 public void ReportSearch()
 {
     try
     {
         DataTable dtblPDCClearnceReport = new DataTable();
         PDCClearanceMasterSP sppdcClearance = new PDCClearanceMasterSP();
         dtblPDCClearnceReport = sppdcClearance.PDCClearanceReportSearch(Convert.ToDateTime(dtpFrmDate.Value.ToString()), Convert.ToDateTime(dtpToDate.Value.ToString()), cmbAccountLedger.Text.ToString(), cmbVoucherType.Text.ToString(), txtVoucherNo.Text.ToString());
         DGVClraranceReport.DataSource = dtblPDCClearnceReport;
     }
     catch (Exception ex)
     {
         MessageBox.Show("PCREP5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }