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.