Beginning C# 2005 Databases
Beginning C# 2005 Databases teaches C# developers the concepts and skills necessary to write C# database applications. This book covers how to make use of databases with C#. It covers the basics of databases, database design, and SQL programming, and it shows programmers how to use C# and ADO.NET to manipulate data in databases. It looks at both visual techniques and data binding and programmatic data access. This is a beginning title, so the Visual Studio 2005 Express Edition tools will be used for both C# development and database hosting. This book is a supplementary text to Beginning Visual C# 2005 and Professional C# 2005, and assumes some knowledge of C# programming.
Readers learn how to how to use queries, views and stored procedures to efficiently access and manipulate data from their applications. The author provides examples, tips, real world scenarios, and instruction on accessing data from Windows applications, ASP.Net applications as well as Web Services. ADO.Net will be covered thoroughly so that the reader may get a firm grasp on this important data access technology in .Net. Hands on examples and try it out exercises will be used to help the reader put the topics they read about into practice. This book will not be used so much as a reference but as a teaching tool on building database applications using C#
Table of Contents
Chapter 1: Database Fundamentals.
- What Is a Database?
- Additional Features of RDBMSes.
- What RDBMSes Are Available?
- How Do You Use a Database?
Chapter 2: Databases and C#
- Database Access in C#.
- Visual Tools.
Chapter 3: Viewing Data
- Creating Data Sources.
- Binding to Data Sources.
Chapter 4: Modifying Data
- Data Modification Prerequisites.
- How to Avoid Data Being Overwritten.
- Modifying Data from Data-Bound Controls.
Chapter 5: Databases and the Internet
- Web versus Windows Applications.
- Data Binding in ASP.NET.
- ASP.NET Data Connections.
- ASP.NET Data Source Controls.
- ASP.NET Data Display Control Summary.
- An Introduction to Templates.
- Viewing and Editing Data in List Views.
- Viewing and Editing Data in Detail Views.
- Master/Detail Views.
Chapter 6: Accessing Databases Programmatically
- Database Connections.
- Database Commands.
- Data Reader Objects.
- Data Adapter Objects.
- DataSet Objects.
Chapter 7: Views and Stored Procedures
- Database Views.
- Stored Procedures.
Chapter 8: Custom Data Objects
- Custom Data Objects.
Chapter 9: Transactions and Concurrency
Chapter 10: Working with Disconnected Data
- Exposing Web Service Data.
- Consuming Web Service Data.
- Caching Web Service Data.
Chapter 11: SQL Server CLR Integration
- Overview of CLR Integration.
- Common Features of CLR Integrated Code.
- Managed Functions and Stored Procedures.
Appendix A: Installation.
Appendix B: Database Installation.
Appendix C: Answers to Exercises.