private void comboBoxDiscReportType_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (comboBoxDiscReportType.SelectedIndex != 0)
     {
         selectedReport = reports.Find(rpt => rpt.ReportName == comboBoxDiscReportType.SelectedItem.ToString());
         LoadMovies();
     }
 }
Beispiel #2
0
 public DataSet GetDiscrepancyReport(DiscrepancyReport report)
 {
     LogWrapper.LogInfo("Retrieving movies for Discrepancy Report.");
     return DBAObj.GetDiscrepancyReport(report);
 }
 public DataSet GetDiscrepancyReport(DiscrepancyReport report)
 {
     DataSet dsDiscrepancy = null;
     try
     {
         PlanetM_Utility.LogWrapper.LogInfo(string.Format("Executing SP:{0} Parameters None.", report.StoredProcedureForReport));
         dsDiscrepancy = SqlHelper.ExecuteDataset(m_Connection_String, CommandType.StoredProcedure, report.StoredProcedureForReport);
     }
     catch (Exception Ex)
     {
         PlanetM_Utility.LogWrapper.LogError(Ex);
     }
     return dsDiscrepancy;
 }