fill error!?

fill error!?

Postby 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
 

Postby Guest » Thu 22 Sep 2005 01:21

PS: mysql version 4.1
Guest
 

Postby Serious » Thu 22 Sep 2005 09:30

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


Return to dotConnect for MySQL