I am trying to convert csv to html by using stream reader and writing that into stream writer the problem is it is missing the last line of the csv file i debugged and tried tracing stream reader but i am unable see stream reader output in the watch at each loop .
Check your CSV file. Is there actually a carriage return at the end of the file (eg chr(13) + chr(10))?
I haven't used the stream reader for a while but I imagine that would cause the problem you are referring to. Instead of the EOL code it is getting the EOF code at the end of the line so not recognising the last line as valid.