Example #1
0
 private void txtTimDocGia_EditValueChanged(object sender, EventArgs e)
 {
     if (txtTimDocGia.Text == "")
     {
         gridControl1.DataSource = docGiaBUS.GetList();
     }
     else
     {
         gridControl1.DataSource = docGiaBUS.TimKiem(txtTimDocGia.Text);
     }
 }