<%@ Page Language="C#" %> Simple ASP.NET Page<% System.IO.StreamReader sr = new System.IO.StreamReader("/file.txt");string line;while(sr.Peek() != -1){ line = sr.ReadLine(); Response.Write(Server.HtmlEncode(line) + "");}%>