Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Reginheraht Fischer   on Sep 25 In Asp.net Category.

  
Question Answered By: Taylor Evans   on Sep 25

Try this:


StreamReader sr = new StreamReader (File.Open(Server.MapPath(filePath),
FileMode.Open) );

FileContent.Text = sr.ReadToEnd(); // FileContent is a text  area control

sr.Close();

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 


Tagged: