Using BindingSource on LINQ to SQL, and having implemented a BindingList in my project, I have to use a Textbox to filter rows in a
Try it like this:
if (textBox1.Text.Length == 0) {
productBindingSource.RemoveFilter();
} else {
productBindingSource.Filter = "ProductName = '" + textBox1.Text +"'";
}
// productDataGridView.DataSource = productBindingSource;
The DataGridView shouldn't need to be DataSourced again if it's already using productBindingSource.