会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
runliuv
runliuv@cnblogs
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
···
68
69
70
71
72
73
74
75
76
77
下一页
2013年7月26日
关闭IE 对剪切板访问的提示
摘要: 在internet 选项-“安全”选项卡-自定义级别。 在“脚本”下面找到“允许对剪切板进行编程访问”,选择“启用”即可。-END
阅读全文
posted @ 2013-07-26 15:31 runliuv
阅读(339)
评论(0)
推荐(0)
svn 提交代码 自动过滤技巧,自动过滤不想提交的文件和文件夹,排除
摘要: 原文:http://www.cnblogs.com/codealone/p/3208620.html 打开SVN客户端 常规设置 全局忽略样式,尾部添加 bin obj [Dd]ebug Release temppe *.suo *.pdsync *.projdata *.vbproj.user *
阅读全文
posted @ 2013-07-26 10:07 runliuv
阅读(10084)
评论(0)
推荐(1)
2013年7月24日
WinForm 打开文件夹
摘要: stringpath="c:\windows";Process.Start("explorer.exe", path);
阅读全文
posted @ 2013-07-24 14:55 runliuv
阅读(341)
评论(0)
推荐(0)
[转]触发窗体事件(例如按Esc关闭窗体),WinForm
摘要: 设置窗体属性KeyPreview=True。private void Form1_KeyUp(object sender, KeyEventArgs e){ if (e.KeyData == Keys.Escape)Application.Exit();}
阅读全文
posted @ 2013-07-24 14:29 runliuv
阅读(480)
评论(0)
推荐(0)
ubuntu 安装时分辨率太小 导致无法继续安装
摘要: 当分辨率是800 *600时,底部的按钮无法显示,不能继续安装。可以在右上角,点击电源按钮,在系统设置中调整显示的分辨率后,继续安装。
阅读全文
posted @ 2013-07-24 09:36 runliuv
阅读(1930)
评论(0)
推荐(0)
2013年7月11日
WinRAR打包时不包含文件夹本身,只打包文件夹里的文件和目录
摘要: 加上-ep1 参数即可。rar u -m3 -s -r -o+ -ep1 -x*.zip client_zmv9.zip ".\client_zmv9\*"
阅读全文
posted @ 2013-07-11 10:17 runliuv
阅读(810)
评论(0)
推荐(0)
如何判断事务是否完成,SqlTransaction
摘要: SqlConnection sconn = null; SqlCommand scmd = null; SqlTransaction strans = null; try { string sqlInsert = string.Format(@"insert into MyName (myid,myfname,mymname,mylname) values ('{0}','c','c','c')", Guid.NewGuid().ToSt...
阅读全文
posted @ 2013-07-11 09:52 runliuv
阅读(3606)
评论(0)
推荐(0)
2013年7月5日
循环枚举的名称或值
摘要: IList lstsf = Enum.GetNames(typeof(Environment.SpecialFolder)); foreach (string sf in lstsf) { Environment.SpecialFolder sfType = (Environment.SpecialFolder)Enum.Parse(typeof(Environment.SpecialFolder), sf); string specDir = Environment.GetFolderPath(sfType); }还有个Enum.GetValues 方法 .通过名称转为枚举: Enviro.
阅读全文
posted @ 2013-07-05 21:07 runliuv
阅读(827)
评论(0)
推荐(0)
FileStream 和StreamWriter 一起用时
摘要: StreamWriter Flush 即可。FileStream Flush 无用。
阅读全文
posted @ 2013-07-05 11:57 runliuv
阅读(274)
评论(0)
推荐(0)
2013年7月3日
ToString yyyy-MM-dd ,MM 小写的故事。
摘要: ToString MM 小写,有可能时间转为 :2013-49-02,放到数据库中查询,就报错。
阅读全文
posted @ 2013-07-03 15:40 runliuv
阅读(213)
评论(0)
推荐(0)
上一页
1
···
68
69
70
71
72
73
74
75
76
77
下一页