阅读背景:

如何在使用SqlDataSource或ObjectDataSource时关闭连接/ datareader

来源:互联网 

during beta testing we discovered connection pooling error messages . Therefore I have been going through the code and closing down the SqlDataReader objects wherever they have been left unclosed. What I need to know is how to close a datareader (or if there is a need at all to close) that is specified in the SelectStatement attribute of the SqlDataSource or ObjectDataSource tags. Could there be connection leak if they are not handled?during beta testing we discovered connection po




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: