fill error!?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Guest

fill error!?

Post by Guest » Thu 22 Sep 2005 00:39

i was trying to fill a dataset, but here comes an unexpected exception while filling.

heres my code.

MySqlDataAdapter Myada = new MySqlDataAdapter("Select * from test",Mycon);
Myada.MissingSchemaAction = MissingSchemaAction.AddWithKey;

MySqlCommandBuilder myCommandBuilder = new CoreLab.MySql.MySqlCommandBuilder(Myada);

Myds = new DataSet();
try{
Myada.Fill(Myds);
}
catch(MySqlException e)
{
MessageBox.Show("fill failed!" + e.StackTrace);
return false;
}


no idea what happened.

Guest

Post by Guest » Thu 22 Sep 2005 01:21

PS: mysql version 4.1

Serious

Post by Serious » Thu 22 Sep 2005 09:30

Please specify full exception message, exception class and call stack.

Post Reply