A common use for database querying in a page is to allow users to enter a list of keywords for searching. i.e. "Word1 Word2 Word3" along with some settings options where he can pick something like: [All words], [Any word], [Exact Phrase]. I used that approach to write a learning tool with LINQ. Exact Prase was easily achieved by something like: from q in context.MyView where q.MySearchField.Contains(TextBox.Text) select q which translated to select * from MyView where MySearchField like
Read More...