上一页 1 2 3 4 5 6 ··· 9 下一页

2015年9月27日

Difference between WCF and Web API and WCF REST and Web Service

摘要: Difference between WCF and Web API and WCF REST and Web Servicehttp://www.dotnet-tricks.com/Tutorial/webapi/JI2X050413-Difference-between-WCF-and-Web-... 阅读全文

posted @ 2015-09-27 08:33 喝咖啡就蒜瓣儿 阅读(202) 评论(0) 推荐(0)

2015年9月26日

C#创建带参数的线程

摘要: 1、无参数线程的创建Thread thread = new Thread(new ThreadStart(ShowMessage));thread.Start();private void ShowMessage(){ Console.WriteLine("hello world");}2、带一个... 阅读全文

posted @ 2015-09-26 08:19 喝咖啡就蒜瓣儿 阅读(2245) 评论(0) 推荐(1)

2015年8月14日

Application.DoEvents()和多线程

摘要: 首先将以下代码放到Button事件里面:private void btnStart_Click(object sender, EventArgs e){for (int q = 0; q < 100000; q++){textBox1.Text = q.ToString();}}你会发现当点击Sta... 阅读全文

posted @ 2015-08-14 16:54 喝咖啡就蒜瓣儿 阅读(1048) 评论(1) 推荐(0)

2015年8月6日

.NET Framework 工具

摘要: https://msdn.microsoft.com/zh-cn/library/ms299153(VS.80).aspxSDK 命令提示程序集链接器 (Al.exe)ASP.NET 编译工具 (Aspnet_compiler.exe)ASP.NET 浏览器注册工具 (Aspnet_regbrows... 阅读全文

posted @ 2015-08-06 22:44 喝咖啡就蒜瓣儿 阅读(367) 评论(0) 推荐(0)

2015年7月28日

【转】实现Sqlite datediff日期时间相减的方法

摘要: 对sqlite既恨又爱,在小项目里,用sqlite开发起来非常方便,效率足够用。美中不足的是sqlite精简了些功能及相关函数。如存储过程,datediff,不支持并发写入及远程访问(或许有些高手说这个不是问题,用共享或iis都可以解决,但这算真正解决吗?),导致在开发过程中走了不少弯路。最常用到的... 阅读全文

posted @ 2015-07-28 10:32 喝咖啡就蒜瓣儿 阅读(10272) 评论(0) 推荐(0)

2015年7月20日

Devexpress GridView增加CheckBox列

摘要: 参考DEV官网代码做了一个增加checkbox列效果:#region 方法:设置GridView数据绑定 public void GridDataBind() { dt = dbHelper.Fill(cmdStr); // 填充DataTable dt.Columns.Add("Check", t... 阅读全文

posted @ 2015-07-20 10:55 喝咖啡就蒜瓣儿 阅读(2773) 评论(0) 推荐(0)

2015年6月25日

没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))

摘要: 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))1. regsvr32 IB_USBKEY.ocx注册ocx控件。2. 出现这个错误,先试试在配置管理器中将Any CPU 改为 X86的。是由于系统的差异造成的。 阅读全文

posted @ 2015-06-25 17:13 喝咖啡就蒜瓣儿 阅读(2388) 评论(0) 推荐(0)

2015年6月21日

如何让Advanced Installer卸载软件时保留一些文件

摘要: http://www.advancedinstaller.com/user-guide/qa-keep-file.html Youneedtomodifysomeoftheresource'scomponentattributes,inthe"Organization"page. toprevent... 阅读全文

posted @ 2015-06-21 09:59 喝咖啡就蒜瓣儿 阅读(1716) 评论(0) 推荐(0)

2015年6月18日

【转】SQLite提示database disk image is malformed的解决方法

摘要: SQLite有一个很严重的缺点就是不提供Repair命令。 导致死亡提示database disk image is malformed 它的产生有很多种可能,比如,磁盘空间不足,还有就是写入数据过程中突然掉电等。 官方对产生原因的一些说明: http://www.sqlite.org/lockin... 阅读全文

posted @ 2015-06-18 17:26 喝咖啡就蒜瓣儿 阅读(1942) 评论(0) 推荐(0)

2015年5月6日

【转】Winform下KeyDown,KeyPress,KeyUp事件的总结

摘要: http://blog.csdn.net/xiashengwang/article/details/6777907 阅读全文

posted @ 2015-05-06 12:35 喝咖啡就蒜瓣儿 阅读(394) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 9 下一页

导航