Yesterday you looked at the fundamentals of databases and how to use them in your ASP.NET Web pages. Today's lesson expanded on that topic immensely and showed you complex new ways of adding, editing, sorting, and paging data on your pages. Specifically, you learned about data binding and three new server controls, which provide tremendous functionality, and shorten the work of developers.
First you examined the DataSet, an integral part of ADO.NET's new architecture. You learned how the DataSet is used to represent heterogeneous data while maintaining a consistent interface. Tomorrow you'll learn about the entire ADO.NET toolset and how it works within the new distributed data paradigm.
You spent a lot of time today on the three primary data-binding controls the Repeater, DataList, and DataGrid ASP.NET server controls and how easily they promote data presentation and manipulation. These controls provide a lot of complex functionality for very little work on the developer's part. Each of these controls provide similar functionality, and they share a lot of common properties, methods, and events. After you learn how to use one, you can easily apply your knowledge to the others. Learning these controls is a big step toward becoming an ASP.NET database expert and you're almost there!
So far, you've been lightly skimming over ADO.NET and its mechanisms for accessing and modifying data. Tomorrow, you'll make up for that by taking an in-depth look at how ADO.NET functions with ASP.NET. You'll also learn how to allow users to update your data stores using ADO.NET a very important topic. In the meantime, start playing with these data binding server controls!