filtering problem in LINQ
- by ognjenb
var query = from d in testPersons.person
where d.Name == txtbox
select d;
txtbox is text box on View page.
How change this code to return all names who starts with any part of name?
For example:when I type R in text box, on View page, this query should return all names who is start with character R