摘要: 异常详细信息:System.InvalidOperationException: 未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序。下载2007 Office system 驱动程序:数据连接组件安装http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe下载地址是连接到微软网站,请放心下载 阅读全文
posted @ 2013-07-04 16:02 猎魔人 阅读(789) 评论(0) 推荐(0)
摘要: 1.在页面aspx中<%@ Page ValidateRequest="false" >2.在controller中action添加。[ValidateInput(false)]public ActionResult Edit(){this.ValidateRequest = false;retrun View();}3.在网站web.config<system.web> <httpRuntime requestValidationMode="2.0" /></system.web>在.net 4.0 环境 阅读全文
posted @ 2013-05-23 10:11 猎魔人 阅读(1495) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2013-03-12 09:01 猎魔人 阅读(2) 评论(0) 推荐(0)
摘要: 快递查询接口 http://webservice.36wu.com/ExpressService.asmxip查询接口 http://webservice.36wu.com/ipService.asmx天气预报接口 http://webservice.36wu.com/weatherService.asmx身份证查询接口 http://webservice.36wu.com/IdCardService.asmx手机归属地接口 http://webservice.36wu.com/MobilePhoneService.asmx翻译接口 http://webservice.36wu.com/Tra 阅读全文
posted @ 2012-11-05 14:01 猎魔人 阅读(1961) 评论(0) 推荐(0)
摘要: 1.子级Repeater中绑定父级的某个字段:<%# DataBinder.Eval((Container.NamingContainer.NamingContainer as RepeaterItem).DataItem, "ModuleName") %>2.在子级Repeater中引用父级某个控件的值:<%# ((HiddenField)((RepeaterItem)((Repeater)(((RepeaterItem)Container).NamingContainer)).NamingContainer).FindControl("mod 阅读全文
posted @ 2012-08-03 15:59 猎魔人 阅读(429) 评论(0) 推荐(1)
摘要: PHP格式化时间输出,可以使用函式 date() 实现<?php echo $showtime=date("Y-m-d H:i:s");?>如果是PHP连接MS SQL SERVER,直接输出从MSSQL中读取的时间有可能报Object of class DateTime could not be converted to string in的错误,遇到这么问题,解决办法就是加入SQLSRV_PHPTYPE_STRING( SQLSRV_ENC_CHAR)进行格式化。如while ( $row = sqlsrv_fetch( $stmt)) { echo &qu 阅读全文
posted @ 2012-07-30 14:08 猎魔人 阅读(8543) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-07-12 13:41 猎魔人 阅读(11) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-05-19 12:57 猎魔人 阅读(2) 评论(0) 推荐(0)
摘要: 1.子级Repeater中绑定父级的某个字段:<%# DataBinder.Eval((Container.NamingContainer.NamingContainer as RepeaterItem).DataItem, "ModuleName") %>2.在子级Repeater中引用父级某个控件的值:<%# ((Label)((RepeaterItem)((Repeater)(((RepeaterItem)Container).NamingContainer)).NamingContainer).FindControl("moduleID& 阅读全文
posted @ 2012-05-12 22:28 猎魔人 阅读(1283) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2012-05-09 11:14 猎魔人 阅读(6) 评论(0) 推荐(0)