ASP.NET/Adding A Little Interactivity

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search
<html>
 <head>
   <title></title>
   <script runat="server">
     ' ASP.NET page code goes here
     Sub Page_Load()
       'On Page Load Run this code
     End Sub
   </script>
 </head>
 <body>
   <form runat="server">
<asp:textbox id="txt" run="server">
   </form> 
 </body>
</html>