private void txtFind_TextChanged(object sender, EventArgs e) { ServiceDocEleksDBClient service = new ServiceDocEleksDBClient(); List <Contact> listContacts = new List <Contact>(); string numberPhone = "%" + txtFind.Text + "%"; dataGridViewContacts.DataSource = service.FindContacts(GetUserId, numberPhone); }
private void txtFind_TextChanged(object sender, EventArgs e) { ServiceDocEleksDBClient service = new ServiceDocEleksDBClient(); List<Contact> listContacts = new List<Contact>(); string numberPhone= "%" + txtFind.Text + "%"; dataGridViewContacts.DataSource = service.FindContacts(GetUserId, numberPhone); }