Chapter 16. Using ASP.NET Data Controls

IN THIS CHAPTER

Working with data source controls

Displaying data with ASP.NET data controls

Using ASP.NET controls with SharePoint data sources

Now that you're familiar with using SharePoint Designer's Data Source Library task pane to create database connections to data sources, the next step toward creating dynamic data-driven Web pages is to place the data exposed by these data sources on the Web pages and then to format the data as per your requirements. SharePoint Designer allows Web designers to use ASP.NET 2.0 data source and data display controls to work with the data exposed by data connections. Using a simple Visual Studio-like interface, you can insert ASP.NET 2.0 data controls, bind them together to retrieve data, and then show that data on Web pages. This chapter takes you through a number of ASP.NET data controls available in SharePoint Designer. You can use these controls to display and format data on Web pages.

Like other ASP.NET controls discussed before, it's important to understand that SharePoint Designer merely provides a user interface to work with the data controls, set their properties, and bind them with each other. Each ASP.NET data control has an HTML representation that defines the control and the properties and attributes that it exposes.

Internally, SharePoint Designer writes the HTML code that facilitates the ASP.NET rendering of these controls at browse time. SharePoint Designer doesn't provide for a mechanism ...

Get Microsoft® Office SharePoint® Designer 2007 Bible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.