예제 #1
0
 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());
     }
 }