Forms

The information stored in the Request object collections originates from the client, and is passed to the server as part of the HTTP document request. The server decodes all this information, and makes it available to ASP.NET through the collections, which are part of the Request object’s interface.

Apart from the normal information contained in the HTTP header portions of the request, one way that the browser can send specific information to the server is with a form. This can be seen in the referring HTML page with a <FORM> tag.

Using a TextBox in a Form

The following example asks users to enter their name and address. A Submit button sends the information to another page (indicated by the action attribute in the <FORM> tag), and the ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.