string inputString; resultLabel.Text = ""; using (StreamReader streamReader = File.OpenText(@"~\App_Data\New Text Document.txt")) { inputString = streamReader.ReadLine(); while (inputString != null) { resultLabel.Text += inputString + "<br />"; inputString = streamReader.ReadLine();
using (StreamReader streamReader = File.OpenText(Server.MapPath(@"~\App_Data\New Text Document.txt")))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)