Common ASP Tasks and Their ASP.NET Equivalents
To help ease your transition from Classic ASP to ASP.NET, let's take a look at some of the more common ASP applications and see how they would be done using ASP.NET. This section examines examples such as how to do a very simple user login screen, how to make a form post back to itself and persist its values, and how to display the contents of a recordset in a table. You will also look at a way to use Classic ASP page template include files in ASP.NET pages by using user controls.
Read a Form
One of the most common tasks performed by an ASP page is reading and working with output from HTML forms, using the Request object. In keeping with the theme of this chapter, we'll take a look at a very simple ...
Get ASP.NET by Example 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.