How to apply filter using BindingSouce?

 Posted by Lakhangarg on 4/21/2010 | Category: VB.NET Interview questions | Views: 3857

Suppose you have table with column col1, col2, col3, col4 and you want to filter the record where col1 is equal to Lakhan and col2 like G
bindingSource1.Filter="col1 = 'Lakhan%' AND col2 LIKE 'G%'"

here bindingSource1 is the object of BindingSource Class.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response