Bạn bắt đầu bằng đầu tiên thiết lập thuộc tính Text của điều khiển LinkLabel. Đây là văn bản sẽ được hiển thị trên các hình thức như thể hiện trong hình 12-4. Bạn có thể thiết lập thuộc tính Text bằng cách sử dụng chuyến thăm văn bản tĩnh tiếp theo là | 542 I CHAPTER 17 DYNAMIC DATA WEB SITE There are four types of templates discussed next. You can use these to make the site look completely different. Page Templates You use Page templates to change the look of tables in the site. These templates can change the look of all tables or specific tables. Page templates are located in DynamicData o PageTemplates see Figure 17-10 . Entity Templates Entity templates are user controls to change the layout of tables. This approach gives you more control than using Page templates. For example you can change the way insert edit and view tables are rendered independently. To locate the Entity templates open Solution Explorer and select DynamicData o EntityTemplates see Figure 17-11 . FIGURE 17-10 FIGURE 17-11 Field Templates To change the way a specific data type is rendered you use Field templates. You can locate the Field templates by opening Solution Explorer and selecting DynamicData o FieldTemplates see Figure 17-12 . Filter Templates When you want to change the way the filters are displayed for the tables change the Filter templates. Filter templates are user controls that allow site users to select data to be displayed in each table. To access the Filter templates open Solution Explorer and select DynamicData o Filters see Figure 17-13 . FIGURE 17-12 FIGURE 17-13 Prepared for STEPHEN EISEMAN email REISEMAN071@ Order number 55771330 This PDF is for the purchaser s personal . . 4-1 t 41 c M . d . T TC 1 4. . 4-1 1 1 4- TÍ . J 4-4 4 4 44 1 4-1 Creating a Dynamic Data Linq to SQL Web Site I 543 TRY IT OUT Changing the Look and Feel of a Dynamic Data Web Site Code file is available for download at In this Try It Out you will make updates to the site using Page templates and Field templates. 1. Return to the DDA website. In Solution Explorer right-click located at DynamicData o PageTemplates and choose View Markup. Look for the following H2 element h2 class DDSubHeader .