05 2012 档案

摘要:SqlBulkCopy.WriteToServer方法可将所提供的 IDataReader 中的所有行复制到 SqlBulkCopy 对象的 DestinationTableName 属性指定的目标表中。命名空间: System.Data.SqlClient程序集: System.Data(在 System.Data.dll 中) 阅读全文
posted @ 2012-05-31 09:53 王亚卿 阅读(285) 评论(0) 推荐(0) 编辑
摘要:<iframe id="iFrame" name="iFrame" src=http://www.6a7b.com width="100%"onload="this.height=iFrame.document.body.scrollHeight" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no> </iframe>加入标红的代码,iframe就可以自适应高度了. 阅读全文
posted @ 2012-05-30 20:28 王亚卿 阅读(217) 评论(0) 推荐(0) 编辑
摘要:开发人员在调用WCF时报异常:没有终结点在侦听可以接受消息的 http://win-tbtpgh425lp:9026/StaticDataService.svc。这通常是由于不正确的地址或者 SOAP 操作导致的。如果存在此情况,请参阅 InnerException 以了解详细信息。解决办法有两种:方法1.修改客户端的配置文件<client> <endpoint address="http://win-tbtpgh425lp:9026/StaticDataService.svc" binding="wsHttpBinding" bind 阅读全文
posted @ 2012-05-26 15:48 王亚卿 阅读(26721) 评论(1) 推荐(0) 编辑
摘要:酒店产品WCF服务开发完成后,本地部署测试没有异常,数据结果也是对的。部署到服务器上后出现了意外:调用方未由服务器进行身份验证。使用下面的处理方法后解决了问题:在 配置文件的 system.serviceModel 节点里添加以下配置内容<system.serviceModel> <bindings> <wsHttpBinding> <binding name="NoneSecurity" maxBufferPoolSize="2147483647" maxReceivedMessageSize="21 阅读全文
posted @ 2012-05-26 15:37 王亚卿 阅读(299) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示