DataReader

  • Thread starter Sebastian Santacroce
  • Start date
S

Sebastian Santacroce

I'm using a datareader with SQL server database and trying
to make a connection to one store procedure with a
datareader and then a connection to another withought
closing the first and I get the errror:" there already
exists a connection to the SQl server with this data
reader. Must close and first connection to create another".

Is there a way around this?
 
C

Cor

Hi Sebastian,

I did not try this, but why not make a new datareader also?

I am not sure of this works, but my first thought is why not.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top