Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script runat="server">
- Sub submit(sender As Object, e As EventArgs)
- Label1.Text = "Your name is " & txt1.Text
- End Sub
- </script>
- <html>
- <body>
- <form id="Form1" runat="server">
- <asp:Button ID="Button1" OnClick="submit" Text="iman_alavi" runat="server"
- BackColor="#FF3300" />
- <asp:Button ID="Button2" OnClick="submit" Text="iman_alavi" runat="server"
- BackColor="#66FF33" />
- <asp:Button ID="Button3" OnClick="submit" Text="iman_alavi" runat="server"
- BackColor="Yellow" />
- <asp:TextBox
- ID="TextBox1"
- runat="server"
- Height="117px"
- Width="389px"
- OnTextChanged="TextBox1_TextChanged"
- AutoPostBack="true"
- BackColor="lightblue"
- Font-Bold="true"
- Font-Italic="false"
- BorderWidth="4"
- Font-Size="Larger"
- Columns="80"
- TextMode="MultiLine"
- Wrap="true"
- Visible="true">
- </asp:TextBox>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement