[InvalidOperationException: ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。]
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +5358338
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +82
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +53
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +137
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +81
WebApp.Components.Database.RunProc(String procName, SqlDataReader& dataReader) in f:\usr\localuser\hmw193227\App_Code\Database.cs:136
WebApp.Components.Products.GetAllProducts() in f:\usr\localuser\hmw193227\App_Code\Product.cs:21
ProDetail.showPreviousAndNext(Int32 ID) in f:\usr\localuser\hmw193227\ProDetail.aspx.cs:128
ProDetail.Page_Load(Object sender, EventArgs e) in f:\usr\localuser\hmw193227\ProDetail.aspx.cs:53
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
|