博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 2 3 4 5 6 7 8 ··· 26 下一页

2015年6月20日

摘要: -- 表转字符串 stuff((select top 20 ','+ cast(QQ as varchar(50)) from dl_QQ order by qq for xml path('')),1,1,'') --字符串转表 CREATE FUNCTION Split(@Text NVARCHAR(4000),@Sign NVARCHAR(4000)) RETUR... 阅读全文

posted @ 2015-06-20 17:21 快乐家++ 阅读(2024) 评论(0) 推荐(0)

2015年6月15日

摘要: 第一步:配置管理器中新建解决方案配置第二步:定义条件编译符号:第三步:在代码中使用自定义的条件编译#if CustomDebugConsole.WriteLine("dsads");#endif 阅读全文

posted @ 2015-06-15 23:42 快乐家++ 阅读(484) 评论(0) 推荐(0)

2015年6月4日

摘要: 反编译后的工程文件用VS2010打开后,在打开窗体时会出现一系列错误提示: 第一种情况: “设计器无法处理第 152 行的代码: base.AutoScaleMode = AutoScaleMode.Font; 方法“InitializeComponent”内的代码由设计器生成,不应手动修改。请移除 阅读全文

posted @ 2015-06-04 00:05 快乐家++ 阅读(424) 评论(0) 推荐(0)

2015年5月21日

摘要: C#编写网站测速WebClient wcl = new WebClient();Stopwatch spwatch = new Stopwatch();spwatch.Start();byte[] resultBytes = wcl.DownloadData(new Uri(textBox1.Tex... 阅读全文

posted @ 2015-05-21 18:54 快乐家++ 阅读(14130) 评论(1) 推荐(1)

2015年5月1日

摘要: private void dataGridViewX1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { //DataGridViewX dgv = sender as Data... 阅读全文

posted @ 2015-05-01 17:40 快乐家++ 阅读(293) 评论(0) 推荐(0)

2015年4月18日

摘要: /// /// WebClient的扩展 /// public class webClient : WebClient { /// 是否重定向 默认为true public bool AllowAutoRedirect { get; s... 阅读全文

posted @ 2015-04-18 00:20 快乐家++ 阅读(2314) 评论(0) 推荐(0)

2015年3月23日

摘要: A、B两表,找出ID字段中,存在A表,但是不存在B表的数据。A表总共13w数据,去重后大约3W条数据,B表有2W条数据,且B表的ID字段有索引。方法一 使用 not in ,容易理解,效率低 ~执行时间为:1.395秒~select distinct A.ID from A where A.ID... 阅读全文

posted @ 2015-03-23 17:39 快乐家++ 阅读(308) 评论(0) 推荐(0)

摘要: //读取程序图标,来作为托盘图标this.notifyIcon.Icon = System.Drawing.Icon.ExtractAssociatedIcon(System.Windows.Forms.Application.ExecutablePath); 线程池 ThreadPool.Queu 阅读全文

posted @ 2015-03-23 13:27 快乐家++ 阅读(642) 评论(0) 推荐(0)

2015年3月20日

摘要: string Cookies = string.Empty; /// /// 获取在线人数 (51.la统计器) /// /// 站点ID string TongJi_51La(string siteid) ... 阅读全文

posted @ 2015-03-20 17:33 快乐家++ 阅读(2647) 评论(0) 推荐(0)

2015年3月12日

摘要: using System;using System.Text;using System.Diagnostics;using System.Runtime.InteropServices;namespace SystemManager{ /// /// 枚举类型,指定可以允许的重启操... 阅读全文

posted @ 2015-03-12 23:42 快乐家++ 阅读(1126) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 26 下一页