One way to do this would be to either load your table into a
DataTable
and iterate over it's
Rows
collection, or Read the table using a
DataReader
to get each keyword in turn.
Using each keyword it is fairly simple to do something like:
if (myTextBox.Text.Contains(theKeyword))
{
}
myDataGridView.DataSource = myMatchedDataTable;