SqlNullValueException in 1.0.8 (MySqlDataReader)
Posted by: lucianoc
Date: November 01, 2006 10:42AM

Hi:
it is a correct behavior of 1.0.8 Connector/NET to throw an SqlNullValueException when calling GetString method of MySQLDataReader. The value to return it is null, but in the previous version (1.0.7) it give me a correct value (blank). This happen to with GetDouble, GetInt64, etc. except GetValue. (I must use GetValue and Convert.ToString() to get it work).
Should i fill a bug report? it is correct? if it is, why is this? (if it help the datareader of SqlServer have not this behavior)

Thanks

Options: ReplyQuote


Subject
Written By
Posted
SqlNullValueException in 1.0.8 (MySqlDataReader)
November 01, 2006 10:42AM


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.