ASP.NET(vb.net) & HTMLForm - HTMLForm : Creates a server-side control that maps to the <form> HTML element and allows you to create a container for elements in a Web page.
ShotDev Focus:
- ASP.NET(vb.net) & HTMLForm
Tag Control :
<form id="programmaticID" method=POST | GET action="srcpageURL" runat="server" > Other controls, input forms, and so on. </form>
Example
HTMLForm.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Submit1_OnClick(sender As Object, e As EventArgs) Me.Span1.InnerHtml = Request.Form("txtInput1") Me.Span2.InnerHtml = Me.txtInput2.Value End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form id="form1" runat="server"> Text 1 = <input type="text" name="txtInput1" value="<%=Request.Form("txtInput1")%>" /> <br /> Text 2 = <input type="text" id="txtInput2" runat="server" /> <input id="Submit1" type="submit" value="Submit" runat="server" OnServerClick="Submit1_OnClick" /> <hr /> <span id="Span1" runat="server"></span> <br /> <span id="Span2" runat="server"></span> </form> </body> </html>
Screenshot
3brooklyn…
…