Exemple #1
0
 /// <summary>
 /// function to print the data
 /// </summary>
 /// <param name="fromDate"></param>
 /// <param name="toDate"></param>
 public void Print(DateTime fromDate, DateTime toDate)
 {
     try
     {
         DataSet   dsBudget  = getdataset();
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.Budget(dsBudget);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "BV:05" + ex.Message;
     }
 }