I have a list of class
How can I filter on some condition..I am applying following it is working when value gets exact match
Dim result = obj.OfType(Of clsEmrItmMstr)().Where(Function(s) s.GenName Like txtserach.Text)
grddetails.DataSource = result
grddetails.DataBind()
where "clsEmrItmMstr" is my class name and "GenName" is field in class