G
Guest
Inside a function, i call a stored procedure with a datareader. The function is called repeatedly (like 8 times) feeding a different parameter into the function. Then i get the "There is already an open DataReader associated with this Connection which must be closed first." error. I close both the datareader and connection object at the end of the function. I thought i found the issue on MS support but it seems like a framework 1.0 issue i'm running 1.
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q31934
Any ideas? I would really appreciate it if someone could shed some light
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q31934
Any ideas? I would really appreciate it if someone could shed some light