Combobox multiselection search like filter in MS Excell

Jul 30 2013 5:34 PM
Hello,
I am working on a project where I need to display data from database to datagridview depending on combobox multiselection. Something like Data filter in MS Excell.
On checking or unckecking combobox item populate datagridview.
I was thinking to achieve this in this way?

SELECT * FROM articles WHERE name LIKE <items checked in combobox?

Combobox is populating from database.

I am working in VS 2010, sqlCEserver, .net 3.5
Can someone have any idea how to do it?


Thank you.

Answers (5)