void readTextFile() { int Count = 0; string line; TextReader Tr = new StreamReader(Request.ApplicationPath + "data.txt"); while ((line = Tr.ReadLine()) != null) { lblText.Text = lblText.Text + line + "<br/>"; Count++; } Tr.Close(); }
Login to post response