Chapter 11Managing Content Using
GridView
and
DetailsView
In the previous chapters, you learned some of the important concepts
surrounding data access and presentation. You learned that when connecting
to a database, you have to establish a connection using the
SqlConnection
class. You also learned that in order
to retrieve data from the database table, you must write an SQL statement
within a command using the SqlCommand
class. You
discovered that we use the SqlDataReader
class to
place the database records into a virtual container of some sort. Finally,
you learned that presenting the data within the
SqlDataReader
was simply a matter of binding the
SqlDataReader
to a data control such as the
Repeater
or DataList
controls.
Here, we’ll learn ...
Get Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th 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.