deerchao的blog

Be and aware of who you are.

导航

统计

公告

06 2008 档案

发布网站时自动切换connectionString
摘要: 1,安装 Web Deploy Projects2,在VS里右击Web项目, Add Web Deployment Project, 确定3,设置新添加的项目的属性. 其中的"Compilation"页中 Output Path即为要发布到的目录.4,在项目属性的Deployment页中,选中"Enable Web.config file section replacement",在下面输入"co...阅读全文

posted @ 2008-06-22 00:34 deerchao 阅读(201) | 评论 (0) 编辑

泛型与反射
摘要: TypeToString()ContainsGenericParametersGenericParameterAttributesGenericParameterPositionIsGenericType Dictionary<,> Dictionary`2[TKey,TValue] Y - - Y < Tkey Y None 0 N > Tvalue Y None 1 N...阅读全文

posted @ 2008-06-16 11:23 deerchao 阅读(324) | 评论 (0) 编辑

强悍的电子邮件地址(email address)正则表达式
摘要: 原始来源: RegexLib.com修改后加入了两个新功能:1,匹配类似 "lc <deerchao@xxx.com>" 这样的包含姓名的格式.2,添加了四个命名组: name, email, user, domain. 这样可以方便取出相应的信息.Code highlighting produced by Actipro CodeHighlighter (freeware)http:...阅读全文

posted @ 2008-06-14 15:24 deerchao 阅读(2738) | 评论 (1) 编辑

db4o, 看上去很美

posted @ 2008-06-12 10:55 deerchao 阅读(444) | 评论 (0) 编辑

把文本文件数据快速导入Sql Server

posted @ 2008-06-11 17:46 deerchao 阅读(348) | 评论 (1) 编辑

从《黑暗森林》事件谈下我对网络时代正版,盗版的看法

posted @ 2008-06-07 20:49 deerchao 阅读(307) | 评论 (3) 编辑