Exemplo n.º 1
0
 public int Xoa(int mahoatdong)
 {
     try
     {
         LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString);
         db.HOATDONG_delete(mahoatdong);
         db.SubmitChanges();
         return 0;
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }