Sams Teach Yourself ADO.NET in 24 Hours
Sams Publishing (Verlag)
978-0-672-32383-6 (ISBN)
ADO.NET is the data access model built into the .NET Framework. It replaces the old (and largely successful) ADO used in almost all Visual Basic and ASP applications built over the last few years. ADO.NET enables an application to communicate with any OLE database source (including Oracle, Sybase, Microsoft Access, and even text files). This book will present ADO.NET in a simple, easy -to-learn manner filled with many code examples and exercises. A reader with no previous knowledge of ADO.NET should be able to read this book and have a functional knowledge of new object model allowing them to retrieve and work with data from multiple data sources.
Jason Lefebvre is vice president and cofounder of Intensity Software (http://www.intensitysoftware.com), a software development company specializing in Microsoft .NET development. Aside from software development, Jason is the coauthor of Pure ASP.NET (Sams Publishing), the code-intensive reference to ASP.NET. In addition, Jason has written numerous articles for nationally known magazines such as Visual C++ Developer¿s Journal, Visual Studio Magazine, and MSDN Magazine. Paul Bertucci is managing principal and founder of Database Architechs (http://www.dbarchitechs.com), a database consulting firm based in San Francisco, California, and with European offices in Paris, France. He has more than 20 years of experience doing database design, data architecture, data replication, performance and tuning, distributed data systems, data integration, and systems integration for numerous Fortune 500 companies. He has authored numerous articles, standards, and courses such as Sybase¿s "Performance and Tuning" course and "Physical Database Design" course. Paul is a frequent conference speaker and regularly teaches database design, performance and tuning, data modeling, OLAP, Supply Chain Management, and SQL courses. He has worked heavily with .NET, MS SQL Server, Sybase, DB2, and Oracle, and has architected several commercially available tools in the database, data modeling, performance and tuning, and data integration arena. He also was one of the primary authors for Microsoft SQL Server 2000 Unleashed (Sams Publishing). Paul received his formal education in computer science from UC Berkeley. He lives in northern California with his wife, Vilay, and five children (the fifth came right in the middle of writing Chapter 19 of this book¿a boy!). Paul can be reached at pbertucci@dbarchitechs.com and by phone at 925-674-0000.
(NOTE: Each chapter concludes with a Summary, Q&A and Workshop.)
Introduction.
Hour 1. Introducing the Microsoft .NET Framework and ADO.NET.
The Microsoft .NET Framework Class Library. What Is ADO.NET? ADO.NET Versus ADO. The System.Data Namespace. The System.Data.SqlClient and System.Data.OleDb Namespaces. Installing the Microsoft .NET Framework.
Hour 2. Working with DataSets and DataTables.
Crash Course on Database Schema. DataSet Overview. Creating DataSet Schema. Adding and Removing Data.
Hour 3. Using T-SQL: A Crash Course.
Retrieving Data with SELECT. Adding New Data with INSERT. Modifying Data with UPDATE and DELETE. Using the Built-in SQL Functions.
Hour 4. Adding Relationships to DataSets.
Database Relationships and Constraints. The DataRelation Object. The DataSet Relations Collection.
Hour 5. Connecting to a Data Source.
The Connection Object. Connecting to Various Data Sources. ODBC (Open Database Connectivity). Connection Pooling.
Hour 6. Retrieving Data from the Data Source.
The Command Object. Filling a DataSet with the DataAdapter. Retrieving a Single Value from the Database.
Hour 7. Modifying Database Data.
Using ExecuteNonQuery().
Hour 8. Using the DataReader and DataAdapter.
DataReader Versus DataAdapter. Instantiating the DataReader. Binding DataReader Results to a Web Control. Stepping Through Data with the DataReader. Limitations of the DataReader.
Hour 9. Binding Data to List Controls.
Binding Data to Controls. Simple Data Binding in Windows Forms. Complex Data Binding in Windows Forms.
Hour 10. Working with XML.
What Is XML? Reading XML. Creating a DataSet from an XML File. Serializing DataSets to XML. Using XmlReader.
Hour 11. Using the Built-In ASP.NET List Controls.
Some General Notes About List Controls. Working with the Repeater. Working with the DataGrid. Working with the DataList.
Hour 12. Formatting ASP.NET List Controls.
A Quick Overview of CSS. Formatting the Repeater. Formatting the DataList. Formatting the DataGrid.
Hour 13. Handling ADO.NET Errors.
Using Formal Error Handling (Ready, "Catch"!). Typical Errors to Handle. Using RowError of the DataSet.
Hour 14. Managing ADO.NET Concurrency.
Optimistic Versus Pessimistic Concurrency. Coding for Optimistic Concurrency. Comparing DataSet Values Against the Database for Optimistic Concurrency. Using a Timestamp for Optimistic Concurrency. XML and Optimistic Concurrency.
Hour 15. Working with Stored Procedures.
What Are Stored Procedures? Executing a Stored Procedure. Using Parameters.
Hour 16. ADO Upgrade Concerns.
General Upgrade Issues from ADO to ADO.NET. Accessing an ADO Recordset from ADO.NET.
Hour 17. Using Connection Pooling.
What Is Connection Pooling? OLE DB .NET Data Provider.
Hour 18. Working with Transactions.
What Is a Transaction? Transactions and ADO.NET. Transactions with Stored Procedures.
Hour 19. Using Automatically Generated Commands.
Automatically Generated Commands. Using the CommandBuilder.
Hour 20. Working with Typed DataSets.
The Typed DataSet. Generating a Typed DataSet. Typed DataSets in Visual Studio .NET.
Hour 21. Optimizing Data Access Using Tiered Development.
What Is Tiered Development? Implementing Tiered Development. Creating Your Own Assembly.
Hour 22. Modifying Data in an N-Tier Application.
Updating Product Data. Adding Product Data.
Hour 23. Optimizing Data Access.
Optimizing ADO.NET Code. ASP.NET Tracing. Improving Your Queries with the SQL Query Analyzer. Simulating Application Traffic. Data Caching.
Hour 24. Transmitting DataSets Using Web Se
Erscheint lt. Verlag | 22.5.2002 |
---|---|
Reihe/Serie | Sams Teach Yourself |
Verlagsort | Indianapolis |
Sprache | englisch |
Maße | 232 x 187 mm |
Gewicht | 671 g |
Themenwelt | Mathematik / Informatik ► Informatik ► Datenbanken |
Mathematik / Informatik ► Informatik ► Netzwerke | |
Informatik ► Software Entwicklung ► Objektorientierung | |
Informatik ► Weitere Themen ► Hardware | |
ISBN-10 | 0-672-32383-4 / 0672323834 |
ISBN-13 | 978-0-672-32383-6 / 9780672323836 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich