Datasheet

Figure 1-10
After creating and modifying the Company.master Master Page, you can view the automatically gener-
ated HTML code by clicking the HTML button at the bottom-left corner of the editor. Listing 1-4 shows
what the HTML for the Company.master Master Page looks like after making the modifications
described in the previous paragraph.
Listing 1-4: A Master Page with formatting for custom page elements: Company.master
<%@ Master Language=”C#” AutoEventWireup=”true” CodeFile=”Company.master.cs”
Inherits=”Company” %>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” >
<head runat=”server”>
<title>My Company</title>
</head>
<body>
12
Chapter 1
04_597663 ch01.qxp 4/25/06 9:54 PM Page 12