Exemplo n.º 1
0
 public int CapNhat(BAIHAT lpDTO)
 {
     try
     {
         LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString);
         return db.BAIHAT_update(
             lpDTO.MaBaiHat,
             lpDTO.TenBaiHat,
             lpDTO.LinkBaiHat
             );
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }