Set value to html:textbox in page load event (VB.net) : Text input « HTML Controls « ASP.NET Tutorial






<%@ Page Language="VB" %>

<script runat="server">
   sub Page_Load(Sender as object, e as EventArgs)
      tbMyText.Value = "This is the page load event!"
   end sub
</script>
<html><body>
   <form runat="server">
      <input type="text" size="25" 
         id="tbMyText" runat="server" />
   </form>
</body></html>








4.15.Text input
4.15.1.Set value to html:textbox in page load event (VB.net)
4.15.2.Read input from text field, do calculation then output to the save page (C#)
4.15.3.TextBox server changed event