469,294 Members | 1,940 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,294 developers. It's quick & easy.

cannot read closed textReader

When I use streamReader.ReadLine()
this gives me the following subject error

( " cannot read closed textreader " )



I am reading an entire folder with .txt files containing sql query lines, when command line return true the .txt files have to be copy in a folder "OK" and if returns false I have to copy file in the "BASH" directory...

in the third execution of my cod I get this error.
is there somebody who can help me.... ???
Nov 26 '10 #1
1 3771
Joseph Martell
198 Expert 128KB
Can you post the code that is throwing this exception so we can see what is going on? We need a context to see what is really happening before we can offer any help.
Nov 28 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Fendi Baba | last post: by
15 posts views Thread by waltbrad | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.