I have programmed a small program with vb.net
with mysql
. it is working fine . but while closing my application using "End" command. I'm getting this error.
"System.NullReferenceException was unhandled
HResult=-2147467261enter code here
Message=Object reference not set to an instance of an object. Source=MySql.Data StackTrace: at MySql.Data.MySqlClient.NativeDriver.FetchDataRow(Int32 statementId, Int32 columns) at MySql.Data.MySqlClient.Driver.FetchDataRow(Int32 statementId, Int32 columns) at MySql.Data.MySqlClient.Driver.SkipDataRow() at MySql.Data.MySqlClient.ResultSet.Close() at MySql.Data.MySqlClient.MySqlDataReader.NextResult() at MySql.Data.MySqlClient.MySqlDataReader.Close() at MySql.Data.MySqlClient.MySqlConnection.Close() at MySql.Data.MySqlClient.MySqlConnection.Dispose(Boolean disposing) at System.ComponentModel.Component.Finalize() InnerException: "
its only appears when while closing my application. please help me. thank you.