<%@ Page Language="vb" %>
<html>
<head>
<title>Writing a file to output in ASP.NET</title>
<script runat="server"> Sub Page_Load()
Response.WriteFile("dep.txt") End Sub
</script>
</head>
<body>
<asp:label id="myMessage" runat="server"/>
</body>
</html>