15 Using a Database

15.1 Database Tables and SQL Queries

15.2 Connecting to a Database

15.3 Retrieving Information

15.4 Database Information and Aggregate Functions

15.5 Stored Procedures and Transactions

15.6 A GUI for Database Queries

W e can use files to store data for small applications, but as the amount of data that we need to save gets larger, the services of a database system become invaluable. A database system allows us to model the information we need while it handles the details of inserting, removing, and retrieving data from individual files in response to our requests.

Of course, each database vendor provides its own procedures for performing database operations. The .NET Framework hides the details of different databases; our ...

Get Computing with C# and the .NET Framework, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.