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(); } }
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(); } }