日期:2014-05-17 浏览次数:20427 次
List<string> list = new List<string>();
list.Add("1,5,29,26,25");
list.Add("1,5,29,16,25");
list.Add("1,5,29,6,25");
var query = from test in list
where test.Split(',').Contains("6")
select test;
foreach (var T in query)
Console.Write(T);
select * from hy_article where ','+art_use+',' like '%,6,%'