Пример #1
0
 public int CapNhat(HOATDONG lpDTO)
 {
     try
     {
         LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString);
         return db.HOATDONG_update(
             lpDTO.MaHoatDong,
             lpDTO.TenHoatDong,
             lpDTO.NgayDienRa,
             lpDTO.MaLoaiHoatDong ,
             lpDTO.ThoiGianBatDauDangKy    ,
             lpDTO.ThoiGianKetThucDangKy ,
             lpDTO.HinhAnh
             );
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }