Re: Come on Reggie - pls help!: Object reference not set to an instance of an object. with MySQL Connector Net 1.0.4 and VS.Net 2003
Posted by: rene98c
Date: February 23, 2005 03:47AM

You should be more specific with your question.

Usually kind of exception is thrown then a variable is not initialized.

Like:
NOT INITIALIZED(exception is throwed):

MySqlconnection conn;
conn.ConnectionString = "......";

or

ArrayList al;
al.Add(object);

INITIALIZED:

MySqlConnection conn = new Connection(connectionstring);

or

ArrayList al = new ArrayList();
al.Add(object);

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.