These tutorials demonstrate selected features in ASP.NET version 2.0, but they are compatible with later versions of ASP.NET as well. For the current documentation, see the ASP.NET portal on the MSDN Web site.

 

 

   Welcome   |   ASP.NET   |   Web Services   |   Class Browser   
  |   I want my samples in...      

ASP.NET Quickstart Tutorials

HtmlForm

An HtmlForm control is required to process postback requests. A Web Forms page might only have one server side <form> tag; however, client forms (no runat=server attribute) can also postback to server-side logic as long as a server-side form is present on the page.

The following sample illustrates using the HtmlForm control.

VB HtmlForm1.aspx
Run Sample View Source