Re: I Got trouble in net 2.0 code when using MySql DB
Posted by: Bruce Luo
Date: September 20, 2006 08:12AM

I have solved this problem,if you write :
DbConnection connection = new MySqlConnection(connectString);
OpenConnection(connection);
DbTransaction transaction = connection.BeginTransaction();

It will throw an exception, but if you write :
MySqlConnection connection = new MySqlConnection(connectString);
OpenConnection(connection);
MySqlTransaction transaction = connection.BeginTransaction();
It's ok,aha,it's a rummy problem.

Options: ReplyQuote


Subject
Written By
Posted
Re: I Got trouble in net 2.0 code when using MySql DB
September 20, 2006 08:12AM


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.