private void button4_Click(object sender, EventArgs e) { DataView dv = new DataView(dbdataset); dv.RowFilter = string.Format("name LIKE'%{0}%'OR sub LIKE'%{0}%'OR age LIKE'%{0}%'",txt.Text); dataGridView1.DataSource = dv; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)