S
scott
Hi all. Thank you for any help that you can offer.
Im making a connection to a mySQL data base.
I then use OdbcCommand to create a query and then execute it using
ExecuteReader. I then use the OdbcDataReader that is returned to get the
results. All is fine until I need to run another query within the current
reader. I get an error message saying "There is already an open DataReader
associated with this Connection which must be closed first".
Does any one know how I can run to readers, one after another ?
Many thanks
Scott.
Im making a connection to a mySQL data base.
I then use OdbcCommand to create a query and then execute it using
ExecuteReader. I then use the OdbcDataReader that is returned to get the
results. All is fine until I need to run another query within the current
reader. I get an error message saying "There is already an open DataReader
associated with this Connection which must be closed first".
Does any one know how I can run to readers, one after another ?
Many thanks
Scott.