already a datareader associated with this connection
Posted on 2004-11-04
"There is already a datareader associated with this connection which must be closed first"
I have some code that is fired from a timer.... because of this i cant be sure that im not using a datareader elsewhere when the timer tick occurs.
Other than keeping a boolean flag when a reader is in use, how can i detect if one is in use...
To help you understand, a pseudo idea might be... if myCommand.dataReaderInUse = true then