Exemple #1
0
 public DataSet SaveCPDDetails(clsCPD objCPD)
 {
     dataAccess = new DataAccess();
     Object[] parameters = new Object[] { objCPD.CPDid,
                                          objCPD.UserId,
                                          objCPD.CpdYear,
                                          objCPD.CourseStartDate,
                                          objCPD.CourseEndDate,
                                          objCPD.CourseName,
                                          objCPD.TrainingProvider,
                                          objCPD.TrainingHours,
                                          objCPD.CPDHoursAccredited,
                                          objCPD.Remarks,
                                          objCPD.CreatedBy };
     return(dataAccess.LoadDataSet(parameters, "TM_CPDMaster_InsertUpdate", "CPD"));
 }
Exemple #2
0
 public DataSet getCPDDetails(clsCPD objCPD)
 {
     dataAccess = new DataAccess();
     Object[] parameters = new Object[] { objCPD.TraineeName, objCPD.CourseStartDate, objCPD.CourseStartDate1, objCPD.CourseEndDate, objCPD.CourseEndDate1, objCPD.CPDid };
     return(dataAccess.LoadDataSet(parameters, "TM_CPDMasterSelectAll", "CPDDetails"));
 }