[InvalidOperationException: ExecuteNonQuery 要求已打开且可用的 Connection。连接的当前状态为正在连接。]
System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) +2582637
System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) +78
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +274
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +114
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +207
DataClient.ExecSql(String sql) +136
newscon.BindX() in d:\wwwroot\baofengjixie\wwwroot\newscon.aspx.cs:66
newscon.Page_Load(Object sender, EventArgs e) in d:\wwwroot\baofengjixie\wwwroot\newscon.aspx.cs:17
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
System.Web.UI.Control.OnLoad(EventArgs e) +97
System.Web.UI.Control.LoadRecursive() +61
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693
|