上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: 查找替换 正则表达式 \btppabs="h[^"]*" 后面不能有空格 你懂得的选中右下角的 √【使用正则表达式】 替换全部 阅读全文
posted @ 2013-09-04 14:18 Jack He 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 获取存储过程的修改时间和创建时间查询建立时间--表select * from sysobjects where id=object_id(N'表名') and xtype='U' --表的结构 select * from syscolumns where id=object_id(N'表名') --存储过程 select * from sysobjects where id=object_id(N'存储过程名') and xtype='P' 查询最后修改时间--存储过程select name,modify_date 阅读全文
posted @ 2013-08-26 18:00 Jack He 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 格式:CONVERT(data_type,expression[,style])说明:此样式一般在时间类型(datetime,smalldatetime)与字符串类型(nchar,nvarchar,char,varchar)相互转换的时候才用到.例子:SELECTCONVERT(varchar(30),getdate(),101) now结果为:now---------------------------------------|09/15/2001===================================================================style数 阅读全文
posted @ 2013-08-26 14:15 Jack He 阅读(381) 评论(0) 推荐(0) 编辑
摘要: private void timer1_Tick(object sender, EventArgs e)//用Timer来控制滚动速度 { label1.Left -= 2;//设置label1左边缘与其容器的工作区左边缘之间的距离 if (label1.Right < 0)//当label1右边缘与其容器的工作区左边缘之间的距离小于0时 { label1.Left = this.Width;//设置label1左边缘与其容器的工作区左边缘之间的距离为该窗体的宽度 ... 阅读全文
posted @ 2013-08-26 03:45 Jack He 阅读(2160) 评论(0) 推荐(0) 编辑
摘要: 本来想开机提速的!手贱 把 最大内存设置成了512M 结果开机悲剧了,启用了微软的自动修复也不能解决问题!最后是WIN7 PE系统下直接修复boot结果了。遇到这种问题的朋友们可以试试喔 阅读全文
posted @ 2013-08-25 22:03 Jack He 阅读(1913) 评论(0) 推荐(1) 编辑
摘要: private void chkControl_ItemChecking(object sender, DevExpress.XtraEditors.Controls.ItemCheckingEventArgs e) { SingleSelectCheckedListBoxControls(chkControl, e.Index); } /// /// 把CheckedListBoxControl设置为单选框 /// /// CheckedListBoxControl ... 阅读全文
posted @ 2013-08-14 18:13 Jack He 阅读(3965) 评论(0) 推荐(0) 编辑
摘要: http://www.taohuiduo.com 反编译后的工程文件用VS2010打开后,在打开窗体时会出现一系列错误提示: 第一种情况: “设计器无法处理第 152 行的代码: base.AutoScaleMode = AutoScaleMode.Font; 方法“InitializeCompon 阅读全文
posted @ 2013-08-10 17:03 Jack He 阅读(5658) 评论(1) 推荐(1) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;namespace Common{ /// /// winform形式的文件传输类 /// public class WinFileTransporter { /// /// WebClient上传文件至服务器,默认不自动改名 /// /// 文件名,全路径格式 /// 服务器文件夹路径 ... 阅读全文
posted @ 2013-08-08 17:42 Jack He 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 出现这种情况一般是 打开了多个MDI的子窗体,打开新窗体的时候关闭其他的子窗体就OK了,具体代码:foreach (Form form in main.MdiChildren) { if (!form.IsDisposed) { form.Close(); } } 阅读全文
posted @ 2013-08-08 11:52 Jack He 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: //提取产品列表页中产品最终页的网页private void button1_Click(object sender, EventArgs e){ if (textBox1.Text.Trim() == "" || textBox2.Text.Trim() == "") { MessageBox.Show("网址和域名不能为空!", "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } try { string Html = inc 阅读全文
posted @ 2013-08-01 15:32 Jack He 阅读(459) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页