Professional in C# and Visual Basic Part 42. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 7 Data Binding in asp Label ID CountryLabel Runat server Text Bind Country asp Label td td style width 100px td td style width 100px Phone asp Label ID PhoneLabel Runat server Text Bind Phone asp Label br Fax asp Label ID FaxLabel Runat server Text Bind Fax asp Label br td tr table asp Button ID Button1 Runat server Text Button CommandName edit td tr table ItemTemplate asp FormView asp SqlDataSource ID SqlDataSource1 Runat server SelectCommand SELECT FROM Customers ConnectionString ConnectionStrings AppConnectionString1 asp SqlDataSource div form body html Other Databound Controls contained many other controls that could be bound to data sources. retained those controls enhanced some and added several additional bound controls to the toolbox continues to include these controls in its toolbox. DropDownList ListBox RadioButtonList and CheckBoxList Although the DropDownList ListBox and CheckBoxList controls largely remained the same from to several new properties that you might find useful were added. In addition added new RadioButtonList and BulletedList controls. All of these controls remain the same in . One of the new properties available in all these controls is the AppendDataBoundItems property. Setting this property to True tells the DropDownList control to append data-bound list items to any existing statically declared items rather then overwriting them as the version would have done. Another useful new property available to all these controls is the DataTextFormatString which allows you to specify a string format for the display text of the DropDownList items. 365 Chapter 7 Data Binding in TreeView Another control included in the toolbox is the TreeView control. Because the TreeView can display only hierarchical data it can be bound only to the XmlDataSource and the SiteMapDataSource controls. Listing 7-59 shows a