public void LoadCVu()
 {
     try
     {
         dgvLoaiCV_CD.DataSource = cnb.ViewChucVu("SELECT *FROM ChucVu").ToList();
     }
     catch (Exception p)
     {
         MessageBox.Show(p.ToString());
     }
 }
示例#2
0
文件: Form1.cs 项目: leson96/Demo
 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());
     }
 }