Friday, December 2, 2011

Reading File Using StreamReader in .NET

Reading File Using StreamReader in .NET



Dim Sr As New System.IO.StreamReader(FileName)
While Not Sr.EndOfStream

         Dim LineValue = Sr.ReadLine

End While
Sr.Close()

No comments:

Post a Comment