ReadLine() only reads the current line of the stream while ReadToEnd() reads the whole stream.
C# - .NET 1.1 / .NET 2.0 "Take everything I say with a grain of salt, sometimes I'm right, sometimes I'm wrong but in the end we've both learned something." _____________________ Regular Expressions Library Connection String API Functions Database FAQ & Tutorial
Forum Rules