华赐软件 Bootstrap3
摘要: 大家都知道Linq查询语句很像SQL的查询。n.Name.StartsWith(Name)--相当于A%n.Name.EndsWith(Name) --相当于%An.Name.IndexOf(Name)!=-1 --相当于%A%var listWhere = list.Where(n=>n.Name.StartsWith(Name)||n.Name.EndsWith(Name)||n.Name.IndexOf(Name)!=-1);或var listWhere = list.Where(n=>n.Name.Contains(Name)); 阅读全文
posted @ 2012-11-07 11:09 OpenCsharp.Net 阅读(405) 评论(0) 推荐(0) 编辑
华赐软件 Bootstrap3
w.huacisoft.com">华赐软件 Bootstrap3