I’m working in a c# windows application with vs2010 and a local database with a table named “clients”.In one of my forms, I’m using a bindingNavigator in order to edit and show the entries of this table.
I would like to be able to create a “Find” button (combined with a textbox) in order to be able to go to any record by inserting the database field of the id (something like the find function in the report viewer).
int pos = this.clientBindingSource.Find("id", toolStripTextBox1.Text);
this.clientBindingSource.Position = pos;
Enjoy!