Mega Code Archive

 
Categories / ASP.Net / Response
 

Read file and display its content on the page (VB net)

<%@ Page Language="VB" %> <html>   <body>     <H2>Response.WriteFile()</H2>     <%     Dim filename As String     filename = "file.txt"     Response.WriteFile(filename)     %>   </body> </html> <%-- --%>