Using fileStream
how to read a file using fileStream
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Surjeet YadavRank #971 · 2.1K reputationPosted May 29, 2013, 8:19 PM EDT
streamReader = new StreamReader(fileStream);
textbox.Text = streamReader.ReadToEnd();
literal.Text = textbox.Text;