Forms : Forms
Form : Form All server controls must appear within a
Slide 3 : The form is always submitted to the page itself. If you specify an action attribute, it is ignored. If you omit the method attribute, it will be set to method="post" by default. Also, if you do not specify the name and id attributes, they are automatically assigned by ASP.NET.
Submitting a Form : Submitting a Form A form is most often submitted by clicking on a button. The Button server control in ASP.NET has the following format:
The id attribute defines a unique name for the button and the text attribute assigns a label to the button. The onClick event handler specifies a named subroutine to execute.
Slide 5 : In computer programming, an event handler is an asynchronous callback subroutine that handles inputs received in a program. Each event is a piece of application-level information from the underlying framework, typically the GUI toolkit.
Viewstate : Viewstate The ViewState indicates the status of the page when submitted to the server. The status is defined through a hidden field placed on each page with a