how to search data in datagridview using ado.net
iam creating one application where i want search particular patient information in datagridview when user search that patient name in textbox how can i do that?
ds = new DataSet();
DataView dv = new DataView();
dv.Table = ds.Tables["Physio_cureTable"];
dv.RowFilter = "PationName like '%" + textBox1.Text + "%'";
dataGridView1.DataSource = dv;
iam trying like something but it not useful datagridview make blank to use this