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