コード例 #1
0
 private void txtSerchDG_TextChanged(object sender, EventArgs e)
 {
     if (rabMaDG.Checked == true)
     {
         DocGiaDAO dg = new DocGiaDAO();
         docgiaList.DataSource = dg.GetListDGByMaDG(txtSerchDG.Text);
     }
     if (rabMaSV.Checked == true)
     {
         DocGiaDAO dg = new DocGiaDAO();
         docgiaList.DataSource = dg.GetListDGByMaSV(txtSerchDG.Text);
     }
 }