代码改变世界

[导入]SqlHelper的几个细节(原创)

2005-12-06 19:36 by BAsil, 182 阅读, 0 推荐, 收藏, 编辑
摘要:最近研究了一下Microsoft的SqlHelper,设计的非常严谨,下面列一下几个细节的问题。1. 判断是否由SqlHelper内部方法打开connection,如果是内部打开的话,需要在执行完SqlCommand的时候将其关闭。 办法是在PrepareCommand中加入out bool mustcloseconnection,而在调用PrepareCommand方法中执行完SqlComm... 阅读全文

[导入]使用服务器激活对象通过 .NET Remoting 实现 Broker

2005-08-04 06:37 by BAsil, 117 阅读, 0 推荐, 收藏, 编辑
摘要:http://www.microsoft.com/china/MSDN/library/architecture/patterns/esp/ImpBrokerServer.mspx文章来源:http://blog.donews.com/basilwang/archive/2005/08/03/493888.aspx 阅读全文

[导入]关于Http/1.1.403的错误(转载)

2004-11-26 10:00 by BAsil, 395 阅读, 0 推荐, 收藏, 编辑
摘要:The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 403 Access Forbidden'. I coul... 阅读全文
上一页 1 ··· 4 5 6 7 8