In our Windows Forms application we use IDataReader which actually call function from one .dll where we ExecureDataReader()
We have many calls in application and in some places ...
For some reason I am getting error message "DataReader already open" but I am not sure where.
What will happend if I simple close that conection in the that .dll? Am I going to make trouble to database because one datareader left opened?
I assume closing connection will close reader too and gargage collector will manage that left opened datareader..
???
We have many calls in application and in some places ...
For some reason I am getting error message "DataReader already open" but I am not sure where.
What will happend if I simple close that conection in the that .dll? Am I going to make trouble to database because one datareader left opened?
I assume closing connection will close reader too and gargage collector will manage that left opened datareader..
???