VD1234
asked on
Reading the inputstream of the uplaoded file in ASP.NET
I use a fileupload control and upload the ocntents of a file.
How do I read the firstline of the file. Basically I want to do something similar to the Readline method of the StreamReader Class.
I get the Filestream as follows: Then how can I read the firstline form the file?
Stream s = fileUpload1.PostedFile.Inp utStream;
Please help. Thanks in advance.
How do I read the firstline of the file. Basically I want to do something similar to the Readline method of the StreamReader Class.
I get the Filestream as follows: Then how can I read the firstline form the file?
Stream s = fileUpload1.PostedFile.Inp
Please help. Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Computer101
EE Admin