I have a datagridview with data in it. I want to search the whole datagridview with a searchbox.
This is the code I am using but it only searches the 'model' column not also the 'make' column.
DataView Dv = new DataView();
Dv.Table = partsDataSet.Tables["partsTable"];
Dv.RowFilter = " Make LIKE '%" + makeBox.Text + "%' ";
Dv.RowFilter = " Model LIKE '%" + makeBox.Text + "%' ";
dataGridView1.DataSource = Dv;