首页 > 其他 > 详细

error 'there is already an open datareader associated with this command which must be closed first'

时间:2014-09-02 12:16:14      阅读:284      评论:0      收藏:0      [点我收藏+]

This can be easily solved by allowing MARS in your connection string. Add MultipleActiveResultSets=true to the provider part of your connection string (where Data Source, Initial Catalog, etc. are specified).

http://msdn.microsoft.com/en-us/library/h32h3abf(v=vs.100).aspx

error 'there is already an open datareader associated with this command which must be closed first'

原文:http://www.cnblogs.com/xixifusigao/p/3951033.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!