this.tblcustomerBindingSource.Filter = "name like '%" + textBox1.Text + "%' ";
string column = comboBox1.Text; string text = textBox1.Text; string filter = string.Format("{0} like '%{1}%'", column, text); this.tblcustomerBindingSource.Filter = filter;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)