Must the user enter the filterable conditions in the DataGridView? I think it would be easier to use TextBoxes that are external to your DataGridView, bind your data to a BindingSource and use the BindingSource's Filter Property.

http://msdn.microsoft.com/en-us/libr...ce.filter.aspx
http://www.c-sharpcorner.com/UploadF...74917PM/1.aspx (in C#)