码迷,mamicode.com
首页 > 其他好文 > 详细

open 未关闭

时间:2020-05-16 22:28:03      阅读:96      评论:0      收藏:0      [点我收藏+]

标签:let   must   boolean   eth   inter   syn   sync   one   open   

 

{System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.

at System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command)

at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)

at System.Data.SqlClient.SqlCommand.ValidateCommand(Boolean async, String method)

at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method)

at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)

at Tkx.DbBase.SqlDbHelper.ExecuteReader(String sql, CommandType commandType, 

open 未关闭

标签:let   must   boolean   eth   inter   syn   sync   one   open   

原文地址:https://www.cnblogs.com/deepalley/p/12902477.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!