Esempio n. 1
0
 public int Xoa(KHAOSAT lpDTO)
 {
     try
     {
         LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString);
         db.KHAOSAT_delete(
             lpDTO.MaYKKS
             );
         db.SubmitChanges();
         return 0;
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }