Example #1
0
 public void CapNhatQuyDinh(DataTable dtQuyDinh)
 {
     try
     {
         provider.Connect();
         string query = "SELECT * FROM QuyDinh";
         provider.AdapterUpdate(query, dtQuyDinh);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         provider.DisConnect();
     }
 }
Example #2
0
 public void CapNhatNhanVien(DataTable dtNhanVien)
 {
     try
     {
         provider.Connect();
         string query = "SELECT * FROM NhanVien";
         provider.AdapterUpdate(query, dtNhanVien);
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         provider.DisConnect();
     }
 }