会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
81
简单就是美!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
23
24
25
26
27
28
29
30
31
···
47
下一页
2018年5月24日
简单的firebird插入速度测试
摘要: Firebird3.0 插入1万条Guid,不带事务:5500ms 插入1万条Guid,带事务:2300ms mssql2008 插入1万条Guid,不带事务:1400ms 插入1万条Guid,带事务:800ms 数据库都安装在本机,调用端为c# framewrok4,mssql插入速度约是Fire
阅读全文
posted @ 2018-05-24 16:53 81
阅读(233)
评论(0)
推荐(0)
2018年5月17日
[收藏转]由于CredSSP加密Oracle修正 导致远程桌面报错处理
摘要: 原文:https://blog.csdn.net/lanwilliam/article/details/80346792 由于win103月份的一个更新,导致mstsc突然无法连接服务器了,报错如标题所示。 根据微软的链接 https://support.microsoft.com/zh-cn/he
阅读全文
posted @ 2018-05-17 15:35 81
阅读(171)
评论(0)
推荐(0)
2018年3月7日
由Handle转换为控件
摘要: Control c = Control.FromHandle(this.textBox1.Handle); TextBox f = c as TextBox;
阅读全文
posted @ 2018-03-07 18:55 81
阅读(150)
评论(0)
推荐(0)
2018年3月6日
字符串格式化
摘要: 以前常用的是:string.format("{0}{1}, a, b)这样格式。 实际上还有一种格式更好一点: string id = "10"; int m = 20string str = $"linezero-{id}, {m}"; 字符串需要前导字符$
阅读全文
posted @ 2018-03-06 12:50 81
阅读(143)
评论(0)
推荐(0)
2017年12月1日
查询mssql的死锁语句
摘要: 都是从网上找的,只是记录一下,可能用到。 查询死锁,要在当前数据库下,否则tableName列得不到正确信息select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableNamefrom sys.dm_t
阅读全文
posted @ 2017-12-01 13:15 81
阅读(7131)
评论(0)
推荐(0)
2017年11月3日
读取和修改app.config文件
摘要: 本处主要是指读取和修改appSettings节点: 读取: string port = ConfigurationManager.AppSettings["port"]; //port字符不区分大小写,但注意config文件中port前后不要有空格,否则出错 写入: Configuration co
阅读全文
posted @ 2017-11-03 10:59 81
阅读(703)
评论(0)
推荐(0)
json序列化与反序列化
摘要: 方法1 : 需要手工添加引用:System.Web.Extensions,使用较方便: Dictionary<string, string> dict = new Dictionary<string, string>(); dict["s"] = "s1"; dict["t"] = "t1"; Sy
阅读全文
posted @ 2017-11-03 10:07 81
阅读(480)
评论(0)
推荐(0)
2017年10月28日
小技巧textbox的行数
摘要: 没什么技术含量,但如果不知道则实现起来很麻烦。 c#中textbox.lines只记录回车的数量,并不是真正的总行数,如何得到呢,请使用: int 总行数 = this.textBox1.GetLineFromCharIndex(this.textBox1.Text.Length) + 1 ; 下面
阅读全文
posted @ 2017-10-28 23:50 81
阅读(973)
评论(0)
推荐(0)
2017年10月13日
telerik WinForm主题切换
摘要: 通过按钮或Form_Load中切换: ThemeResolutionService.ApplicationThemeName = "Windows 7"; //具体的主题名,不同的主题名需要引用相关的dll文件,或从工具栏中拖入自动引用 拖入主题后,控件属性中有ThemeName属性。 Teleri
阅读全文
posted @ 2017-10-13 14:16 81
阅读(1206)
评论(0)
推荐(0)
2017年9月5日
可用的ntp服务器
摘要: 操作系统中带的:time.windows.com 和 time.nist.gov 网上查到一个公共的:cn.ntp.org.cn 以上三个连接多次才成功一次,速度不好。 在移动电视盒子上有一个配置:cn.pool.ntp.org 阿里提供的: ntp1.aliyun.com (1和2我验证通过) n
阅读全文
posted @ 2017-09-05 16:21 81
阅读(1824)
评论(0)
推荐(0)
上一页
1
···
23
24
25
26
27
28
29
30
31
···
47
下一页
公告