Chapter 8. Establishing External Connections

After completing this chapter, you will be able to:

  • Understand the components that make up connection strings

  • Write code that connects to an external data source

  • Identify the different data providers included in ADO.NET

The first seven chapters of this book demonstrated many ADO.NET features that let you work with data in a fully disconnected way. However, there are very few programs that depend on data created solely within the application itself. Most programs, especially those in a business environment, depend on content stored in a database or other source external to the application. This chapter examines ADO.NET data providers, the connection object, and other related features that make interactions ...

Get Microsoft® ADO.NET 4 Step by Step 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.