智者樂山山如畫, 仁者樂水水無涯。 從從容容一盃酒, 平平淡淡一盞茶。 細雨朦朧小石橋, 春風盪漾小竹筏。 夜無明月花獨舞, 腹有詩書气自華。 吾生有崖,也知無崖,以有崖逐無崖,殆也
上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: List a = new List() { 1, 2, 3, 6, 8, 7 }; List b = new List() { 1, 2, 3, 4, 5, 6 }; List c = b.Except(a).ToList(); fo... 阅读全文
posted @ 2014-05-27 15:35 後生哥哥 阅读(232) 评论(0) 推荐(0)
摘要: public class Test { public event EventHandler AA; public void Foo() { if (AA != null) AA(this, new EventArgs()); ... 阅读全文
posted @ 2014-05-06 13:54 後生哥哥 阅读(310) 评论(0) 推荐(0)
摘要: 1 public DataTable ConvertToDataTable(IList data) 2 { 3 PropertyDescriptorCollection properties = 4 TypeDescriptor.GetProperti... 阅读全文
posted @ 2014-04-29 17:15 後生哥哥 阅读(296) 评论(0) 推荐(0)
摘要: 添加引用http://htmlagilitypack.codeplex.com/downloads/get/437941protected void Export(string content,string file) { HtmlDocument doc = new HtmlD... 阅读全文
posted @ 2014-04-29 17:14 後生哥哥 阅读(396) 评论(0) 推荐(0)
摘要: declare @dt1 as datetimedeclare @dt2 as datetimeset @dt1 = '2008-01-01'set @dt2 = '2009-01-01' ;with tas(select @dt1 as y union all select dateadd(m,1... 阅读全文
posted @ 2014-04-22 12:19 後生哥哥 阅读(648) 评论(0) 推荐(0)
摘要: Response.ContentType = "text/html; text/plain; charset=UTF-8"; 阅读全文
posted @ 2014-04-21 17:45 後生哥哥 阅读(198) 评论(0) 推荐(0)
摘要: List _year = new List() { "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" };string delim = ","; var str = _year.Ag... 阅读全文
posted @ 2014-04-21 11:38 後生哥哥 阅读(491) 评论(0) 推荐(0)
摘要: declare @str varchar(2000) set @str='1,2,3,4,6,8,5,9,10,11,12,13,14,15,16,17,18,19,20,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,52,53,54,55,56,57,25,27,28,58' Declare @x XML sele... 阅读全文
posted @ 2014-04-14 12:48 後生哥哥 阅读(277) 评论(0) 推荐(0)
摘要: CREATE TABLE #tmp(m_Meter_ID varchar(20),low_Voltage int,num_Attack int,num_DER int,company_id int,aid int,cid int,selfId varchar(25))INSERT ... 阅读全文
posted @ 2014-04-10 10:36 後生哥哥 阅读(871) 评论(0) 推荐(0)
摘要: /*declare @str1 varchar(200),@str2 varchar(200)set @str1=N'江西省南昌市其它区高新区火炬大道809号' set @str2=N'江西省南昌市其它区高新区火炬大道809号'*/ALTER FUNCTION [dbo].[F_strcompare](@str1 nVARCHAR(200), @str2 nVARCHAR(200))RETURNS numeric(3,2)ASBEGINdeclare @returnvalue numeric(3,2)set @returnvalue=0i... 阅读全文
posted @ 2014-04-09 11:59 後生哥哥 阅读(2186) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 下一页
智者樂山山如畫, 仁者樂水水無涯。 從從容容一盃酒, 平平淡淡一盞茶。 細雨朦朧小石橋, 春風盪漾小竹筏。 夜無明月花獨舞, 腹有詩書气自華。 吾生有崖,也知無崖,以有崖逐無崖,殆也