Skip to main content

Abstract

when you want ado to retrieve data, you have to either create the data yourself or somehow connect to a data source and suck the data down. In some cases (as we’ll discuss in the “Desperately Seeking Performance” and “Passing Data Between Tiers” sections), you can extract data from nontraditional data sources, such as an ActiveX Server Page (ASP) or an XML data Stream. But if you want to get data out of SQL Server, Access (Jet), Oracle, or any other “traditional” database, you have to use a connection—at least at first. This also holds true for any of the plethora of ODBC and OLE DB data sources available when you install MDAC 2.x (see Figure 4-1). However, you don’t necessarily have to formally create your own ADO Connection object—in many cases ADO will create one for you.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Apress

About this chapter

Cite this chapter

Vaughn, W.R. (2000). Getting Connected. In: ADO Examples and Best Practices. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1156-3_4

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-1156-3_4

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-893115-16-3

  • Online ISBN: 978-1-4302-1156-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics