@aryanbs
But the above line will check if the cell value starts with the specified text.I guess I was not clear in explaining my question.
My form contains a datagridview which is filled during the runtime based on some query. The form also contains a combobox whose items are some words.
The DataGridView(DGV) contains a column whose values are different words(only the ones contained in the datagridview) seperated by commas(Each row has different combination of words)
Now when the user selects a word from the combo I want the datagridview to display only those rows wherein the values for that cell contains the selected word.
Is it possible to split the contents of each cell with "," as the seperator and then compared each word with the selected word and display only that row that satisfies the condition and remove other rows.Currently I am using DataView to filter the records but I dont understand how to split the contents of the cell and compare it with the selected word.
Hope you understand what I meant
Please Help