Winform软件,不要在线程里操作UI
摘要:对于Winform软件,不要在线程里操作UI,不要相信:StartForm.CheckForIllegalCrossThreadCalls = false; 于是,把所有的代码都改成主线程委托调用的方式 2 3 Use it like this: 4 调用: 更新为: 考虑仍出现异常时: 变更为:
阅读全文
posted @
2016-11-13 21:02
武胜-阿伟
阅读(909)
推荐(0) 编辑
email
摘要:需要引入命名空间 其中 帮助类中的服务器地址 和 账号 密码需要在配置文件中配置
阅读全文
posted @
2016-11-10 09:23
武胜-阿伟
阅读(336)
推荐(0) 编辑
NserviceBus+rabbitmq
摘要:Ok so I figured this out after looking a bit at the code and the requirements for amqp URI and it should break down into the following format amqp://u
阅读全文
posted @
2016-11-02 20:36
武胜-阿伟
阅读(209)
推荐(0) 编辑
c#调用Mysql带参数的存储过程
摘要:1.首先创建一个带参数的存储过程 ①存储过程名称=proc_bookinfo ②存储过程2个参数 一个in 一个out in参数名称=ispay out参数名称=unPaycount ③ 这个存储过程 根据传入的未支付字段名称 输出未支付的商品数量 DELIMITER $$ USE `booksho
阅读全文
posted @
2016-11-01 22:43
武胜-阿伟
阅读(10778)
推荐(0) 编辑
datatable list 之前相互转换
摘要:This uses the FastMember's meta-programming API for maximum performance. If you want to restrict it to particular members (or enforce the order), then
阅读全文
posted @
2016-11-01 21:38
武胜-阿伟
阅读(305)
推荐(0) 编辑