Chapter 15. Data Binding in Web Forms by Using the Data Source Component

After completing this chapter, you will be able to:

  • Create a data source in the Visual Web Designer.

  • Create a data source at run time.

  • Configure Data Source controls.

  • Enable Data Source caching.

  • Use Data Source methods.

  • Respond to Data Source events.

In Chapter 14 we examined the techniques for binding Web Form controls to Microsoft ADO.NET objects. In this chapter, we'll examine the Data Source controls that are new to Microsoft .NET Framework 2.0.

Understanding the Data Source Component

New to the .NET Framework 2.0, the Data Source component is roughly equivalent to the Windows Form BindingSource component, in that it serves as an intermediary between ADO.NET and bound controls ...

Get Microsoft® ADO.NET 2.0 Step by Step, 2nd Edition 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.