自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 正则表达式集

验证数字:^[0-9]*$验证n位的数字:^/d{n}$验证至少n位数字:^/d{n,}$验证m-n位的数字:^/d{m,n}$验证零和非零开头的数字:^(0|[1-9][0-9]*)$验证有两位小数的正实数:^[0-9]+(.[0-9]{2})?$验证有1-3位小数的正实数:^[0-9]+(.[0-9]{1,3})?$验证非零的正整数:^/+?[1-9][0-9]*$验证非零的负整数:^/-[1-9][0-9]*$验证非负整数(正整数 + 0) ^/d+$验

2010-09-02 15:30:00 241

原创 SQL Server Logins and Users - Orphaned Users

<br />Overview<br />Although the terms login and user are often used interchangeably, they are very different.A login is used for user authenticationA database user account is used for database access and permissions validation.<br />Logins are associated

2010-09-02 15:27:00 545

原创 integrated Windows authentication is not enabled

今天调试程序的时候遇到如下问题:“Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.”。<br />        先是用Baidu搜索一下:找到这篇文章——Debugging Failed Because Integrated Windows Authentication Is Not Enabled  。<br />  

2010-09-02 15:25:00 860

原创 ASP.NET 调用 Excel COM 组件, 权限配置

<br />检索COM类工厂中CLSID为{00024500-0000-0000-C000-000000000046}的组件时失... <br /> 今天发布了这个月来的Web项目,结果一个开发中一直没遇见的问题出现了:检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 80070005。跟踪了一下,结果是将记录导出为Excel表时Excel的COM组件出错,但在VS2005里面却没有任何问题,因此得出结论

2010-09-02 10:56:00 1108

转载 在根 web.config 文件之外使用注册为 allowDefinition='MachineToWebRoot' 的节是错误的

<br />解决:<br />打开C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/CONFIG下的machine.config文件,<br />把 allowDefinition="MachineToWebRoot" 改为 allowDefinition="Everywhere",就OK!<section name="protocols" type="System.Web.Configuration.ProtocolsSection, System.Web, Ve

2010-09-02 10:52:00 642

转载 ASP.NET MVC:如何实现一个自己的ModelBinder?

环境:Windows 2008, VS 2008 SP1, Asp.Net Mvc RC1------------------------------------------------------------------------------上文:Asp.Net Mvc: Model Binding 机制分析  中,我们简单分析了Asp.Net Mvc中Model Binding的

2010-01-22 10:58:00 470

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除