public void LoadCVu() { try { dgvLoaiCV_CD.DataSource = cnb.ViewChucVu("SELECT *FROM ChucVu").ToList(); } catch (Exception p) { MessageBox.Show(p.ToString()); } }
private void btLoadCV_Click(object sender, EventArgs e) { try { dgvLoaiCV_CD.DataSource = cnb.ViewChucVu("SELECT *FROM ChucVu").ToList(); } catch (Exception p) { MessageBox.Show(p.ToString()); } }