hi i m using Linq & C# and i want to filter my data as this syntax in Sql Syntax in sql is I hav one table name Customer in which name is field 'Select name from customer where name like 'C%'' can u help to solve this code in Linq
+1
A:
Also check
StartsWith
EndsWith
another alternate
var query = from c in ctx.Customers
where SqlMethods.Like(c.City, "L_n%")
select c;
same question : http://stackoverflow.com/questions/2742667/like-query-ing-linq-to-object/2742711#2742711
Pranay Rana
2010-05-13 06:16:27