When I try this:
Code: Select all
MySqlCommand myCommand = new MySqlCommand("SELECT somecolumns FROM sometable", myConnection);
IAsyncResult cres = myCommand.BeginExecuteReader(null, null, CommandBehavior.Default);
MySqlDataReader myReader = myCommand.EndExecuteReader(cres);
Parameter differs from the one returned by BeginExecuteReader method. Parameter name: result
Do you have any idea, where I'm wrong ??
Thanks in advance