So, we have our little HTML page Default.aspx as always, but what we will do is, we'll go into Default.aspx.cs, and, inside Page_Load, we will create a description of an object that we can visualize easily, for example, a table:
Figure 2.6.1: Your starting HTML page
But first, to show how you can do this, we'll figure out how to set a page title automatically. You can do this by typing Page.Title and then setting that equal to "Table Catalog";, like this:
Page.Title = "Table Catalog";
Remember to terminate the statement with a semicolon.
Before we do anything else, let's see what this produces on the screen when we launch the page. So far, Default.aspx looks as shown in the following code block. Notice that the <title> tags are empty:
<%@ Page Language="C#" AutoEventWireup="true"...