/// <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;
     }
 }