Summary

In this hour, you've learned how to use the ADO.NET Connection object to connect to various types of data sources. You've seen all the important elements of a connection string, and how to build connection strings for both the managed SQL provider and the OLE DB provider. You also saw several specific examples demonstrating how to connect to various data sources.

Get Sams Teach Yourself ADO.NET in 24 Hours 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.