Chapter 20 Creating Web Sites and Web Pages by Using Visual Web Developer and ASP .NET 519
The information is nicely formatted and appears useful. By default, you’ll find that the
data in this table cannot be sorted, but you can change this option by selecting
the Enable Sorting check box in GridView Tasks. If your database contains many rows
( records) of information, you can select the Enable Paging check box in GridView Tasks
to display a list of page numbers at the bottom of the Web page (like a list that you
might see in a search engine that displays many pages of “hits” for your search).
- Click the Back and Forward buttons in Internet Explorer.
As you learned earlier, you can jump back and forth between Web pages in your Web
site, just as you would in any professional Web site.
- When you’re finished experimenting, close Internet Explorer to close the Web site.
You’ve added a table of custom database information without adding any program code!
One Step Further: Setting Web Site Titles
in Internet Explorer
Haven’t had enough yet? Here are two last Web programming tips to enhance your Web site
and send you off on your own explorations.
You might have noticed while testing the Car Loan Calculator Web site that Internet Explorer
displayed “Home Page” in the title bar and window tab when displaying your Web site. Your
program also displays the very large template title “MY ASP .NET APPLICATION” at the top
of the window. In other words, your screen looked like this:
You can customize what Internet Explorer and other browsers display in the title bar by setting
the Title property of the DOCUMENT object for your Web page; and you can modify the
“MY ASP .NET APPLICATION” string by editing the site master page. Give editing both values
a try now.
Set the Title property
- With the Default .aspx Web page open in Design view, click the DOCUMENT object in
the Object list box at the top of the Properties window.