visual studio - How to close executereader in asp.net? -


i using more 1 repeater on same page. when use execute reader 2nd repeater gives exception there execute reader running.. close it. put executereader(commandbehavior.closeconnection) give error command behaviour doesn't exists... idea issue?

you need explicitly close datareader if specify commandbehavior, not you.

http://msdn.microsoft.com/en-us/library/y6wy5a0f.aspx


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -