Use Response.Write to output message based on HTML tags (VB.net) : Write « Response « ASP.NET Tutorial






<%@Page Language="VB" %>

<script runat="server">
Sub tbMessage_Change(Sender As Object,E As EventArgs)
    lblMessage.Text = "Hello" + tbMessage.Text
End Sub
</script>

<html>
<body>
     <%Response.Write("Our First Page")%>
    <form runat="server">
         Please enter your name:
         <asp:textbox id="tbMessage" OnTextChanged="tbMessage_Change" runat=server/>
         <asp:button id="btSubmit" Text="Submit" runat=server/>
         <asp:label id="lblMessage" font-size="20pt" runat=server/>
    </form>
</body>
</html>








6.4.Write
6.4.1.Use Response.Write to output message based on HTML tags (VB.net)
6.4.2.Calculation in Response.Write (VB)
6.4.3.Calculation in Response.Write (C#)
6.4.4.Output integer and string in Response.Write
6.4.5.Output HTML tags in Response.Write, change the tag properties dynamicallys (VB.net)
6.4.6.Create Client Side MessageBox
6.4.7.Send text file to client