title: How to filter list in asp.net/vb.net using linq
body: <p>I have a list of class</p>
  
  <p>How can I filter on some condition..I am applying following it is working when value gets exact match</p>
  
  <pre><code>        Dim result = obj.OfType(Of clsEmrItmMstr)().Where(Function(s) s.GenName Like         txtserach.Text)
          grddetails.DataSource = result
          grddetails.DataBind()
  </code></pre>
  
  <p>where "clsEmrItmMstr" is my class name and "GenName"  is field in class</p>