I’m trying to implement a search function within my C# Windows application to search within a datagrid.
Basically I need to search the datagrid, using any key word, e.g. if "B" is typed, all entries with B in either is found and displayed in the datagrid.
and this search box should be embedded in the datagrid header.
Do any ActiveX control available for that?
Cheers for any help or advice you can give.
(Incase its important i'm using Visual Studio 03 version 1.1)

Example code below :
create a dataview based on your dataset, then use the dv.rowfilter method to filter on what is displayed.

DataView Dv = newDataView();
Dv.Table = m_Ds.Tables["results"];
Dv.RowFilter = "panel_key like '" + textBox1.Text + "%'";
dataGridView1.DataSource = Dv;