Page Lifecycle ASP.Net Tutorial

<%@ Page Language="vb" %>

   
      Writing a file to output in ASP.NET
      
         Sub Page_Load()
            Response.WriteFile("dep.txt")
         End Sub