Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Day 9.  Using Databases with ASP.NET

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!


    Sams Teach Yourself ASP. NET in 21 Days
    Sams Teach Yourself ASP.NET in 21 Days (2nd Edition)
    ISBN: 0672324458
    EAN: 2147483647
    Year: 2003
    Pages: 307
    Authors: Chris Payne

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: