O'Reilly logo

ASP.NET by Example by Steven A. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required