public bool insertDetail(CourseDetail cc)
 {
     try
     {
         return(c.insert(cc));
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 public bool delete(CourseDetail c)
 {
     try
     {
         str = DBOperate.sqlDelete(c);
         return(sql.ExecSql(str));
     }
     catch (Exception)
     {
         return(false);
     }
 }