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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -