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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.