Linq Querying for user search
I am trying to query from search box using list of data and the linq I used is:

    data = (From k As BSPLib.ContactLib.Contact In data_org.Values Where k.stringdata Like "%" & Searchtxtbox.Text & "%" Select k.prime).ToList

But this is not working, I am getting no data at all.  Data_org is a dictionary so I used the values; k.stringdata contains all the data that need to be searched.  Searchtxtbox.text contains the user defined search item.

I Tried with sqlmethods through linq, but sqlmethods does not exist for me, I tried with with Imported namespace yet the code is not showing sql methods, could you please provide a workable query or just tell me where I have gone wrong.  Thank you.
Linq Querying for user search
===

I am trying to query from search box using list of data and the linq I used is:

    data = (From k As BSPLib.ContactLib.Contact In data_org.Values Where k.stringdata Like "%" & Searchtxtbox.Text & "%" Select k.prime).ToList

But this is not working, I am getting no data at all.  Data_org is a dictionary so I used the values; k.stringdata contains all the data that need to be searched.  Searchtxtbox.text contains the user defined search item.

I Tried with sqlmethods through linq, but sqlmethods does not exist for me, I tried with with Imported namespace yet the code is not showing sql methods, could you please provide a workable query or just tell me where I have gone wrong.  Thank you.