E
Edwin Smith
Hello:
I have the following code which works on a DataGridView binding source:
private void textBox1_TextChanged(object sender, EventArgs e)
{
this.pATIENTSBindingSource.Position =
this.pATIENTSBindingSource.Position("Name", textBox1.Text);
}
This works fine if I type the entire search string. However I want to search
with a partial string such that if I type a "v" it takes me to the first V
in the dataGridView table. If I type an "e" after the "v" it takes me to the
first name that begins with "ve" and so on.
Is there a way to do this?
Thanks
Edwin
I have the following code which works on a DataGridView binding source:
private void textBox1_TextChanged(object sender, EventArgs e)
{
this.pATIENTSBindingSource.Position =
this.pATIENTSBindingSource.Position("Name", textBox1.Text);
}
This works fine if I type the entire search string. However I want to search
with a partial string such that if I type a "v" it takes me to the first V
in the dataGridView table. If I type an "e" after the "v" it takes me to the
first name that begins with "ve" and so on.
Is there a way to do this?
Thanks
Edwin