摘要: [广州]fm(309148970) 16:56:41SET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GOcreate procedure dbo.fm_update_basename@basetable varchar(100),@columlist varchar(255),@basecolum varchar(100)as-----调试用---set ... 阅读全文
posted @ 2010-10-21 17:01 thanks 阅读(222) 评论(0) 推荐(0)
摘要: List<int> val1 = new List<int> { 1, 2, 3, 4 };List<int> val2 = new List<int> { 2, 3 };选择val1中有val2中也有的值:第一种:var item = from v1 in val1 from v2 in val2 where v1 == v2 select v1;第二种:var item = val1.Where(v => val2.IndexOf(v) > -1);第三种:var item = val1.Join(val2, v1 => v 阅读全文
posted @ 2010-10-21 10:12 thanks 阅读(332) 评论(0) 推荐(0)