BOOL DrawFrameControl( HDC hDC, // 设备环境句柄 LPRECT
lpRect, // 矩形区域 UINT nType, // 控件类型 UINT nState // 控件状态);// 控件类型 uType
参数DFC_CAPTION = 1; // 标题DFC_ME...
分类:
其他好文 时间:
2014-07-22 23:17:13
阅读次数:
440
在表单中输入数据提交时提示invalid field value for
field"product.sale
Date".(product.sale是文本框的名字,Date是其数据类型)原因:输入数据的格式错误。希望:将提示改为,如:“格式错误,请输入正确的格式”。方法:使用国际资源,PS:国际资...
分类:
其他好文 时间:
2014-05-01 20:09:45
阅读次数:
281
安装过程如下性能测试结果:SET操作每秒钟 110000 次,GET操作每秒钟 81000
次,服务器配置如下:Linux 2.6, Xeon X3320 2.5Ghz.stackoverflow 网站使用 Redis
做为缓存服务器。安装过程:Redis是一种高级key-value数据库。它跟me...
分类:
其他好文 时间:
2014-05-01 15:20:09
阅读次数:
375
当在Windows Server
2003+IIS6做Web服务器,出现打开如http://paullevi.oicp.net,出现,Bad Request (Invalid Hostname)
的提示时,更改IIS6的Internet 信息服务管理器的默认网站里的属性->网站->IP地址栏,设置为...
分类:
其他好文 时间:
2014-04-30 15:39:34
阅读次数:
621
搬运自:http://wurang.me/2014/04/24/dotnet-IPC.html如果有一个需求,用一个程序控制另一个程序,最简单的,比如用程序A打开程序B,这个想必平时都会用到,可以使用Process类及相关的方法。那么再打开B的时候发送一些参数,然后B根据这些参数做出一些反映,这该怎...
分类:
Web程序 时间:
2014-04-30 04:10:20
阅读次数:
617
Most of the database intensive applications are
worring about the default values of these variables obviously. Developers used
to inform me that they ...
分类:
数据库 时间:
2014-04-29 15:26:38
阅读次数:
739
链接:http://soj.me/show_problem.php?pid=1007
Description
Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (letter...
分类:
其他好文 时间:
2014-04-29 13:23:21
阅读次数:
293
搬运自http://wurang.me/2014/04/22/delegate.html【什么是委托】委托是对函数的引用,它是一个引用类型,类似c/cpp中的函数指针。但它是类型安全的。委托是一个类,定义了方法的类型,可以将方法当做另一个方法的参数传递。委托就是一个安全的函数指针,用来执行函数方法的...
分类:
Web程序 时间:
2014-04-29 10:46:47
阅读次数:
409
This articles will show how to avoid the leak of the memory in c++, I just use this articles to summerise something, and show how awesome my English is. If someone need Chinese version, just told me....
分类:
编程语言 时间:
2014-04-27 22:22:19
阅读次数:
430
You need to handle
theSystem.Windows.Forms.Application.ThreadExceptionevent for Windows Forms. This
article really helped me:http://bytes.com/forum/th...
分类:
移动开发 时间:
2014-04-27 21:10:16
阅读次数:
907