Citation:
System.InvalidOperationException: ExecuteReader nécessite une Connection ouverte et disponible. La connexion est actuellement fermée." & vbCrLf & " à System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)" & vbCrLf & " à System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)" & vbCrLf & " à System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)" & vbCrLf & " à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)" & vbCrLf & " à System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)" & vbCrLf & " à System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)" & vbCrLf & " à System.Data.SqlClient.SqlCommand.ExecuteReader()" & vbCrLf & " à WindowsApplication1.creatcom.creatcom_Load(Object sender, EventArgs e)
c'est un souci de connexion apparament... je regarde à ce niveau!