cannot read closed textReader

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ANDRE BERTONHA

    cannot read closed textReader

    When I use streamReader.Re adLine()
    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.... ???
  • Joseph Martell
    Recognized Expert New Member
    • Jan 2010
    • 198

    #2
    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.

    Comment

    Working...