IN THIS CHAPTER
So far, we've shown you how to work with various aspects of database access and their results (such as DataSets, DataAdapters, and Connections). In this chapter we put these items together to provide information contained in a database to the Web via a browser. In common .NET terminology, a Web page that collects, submits, or displays data-driven content is known as a WebForm. If you ever wrote an application in ASP, you should fondly remember the ADODB.Connection and ADODB.Recordset objects as being about the only ways to get data from a relational database. With the advent of .NET, not only does ADO.NET give you new classes and options, but it also provides built-in support for working with XML as if it were a database. Without further ado (pun intended), let's take a look at this capability from the most basic means of access to the more advanced; then, we can concentrate on making it scale. |