ASP.NET
  Home arrow ASP.NET arrow Page 6 - What is ADO?
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

What is ADO?
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 15
    2004-08-11

    Table of Contents:
  • What is ADO?
  • About Universal Data Access
  • Existing Technologies
  • Why ADO?
  • ADO and ADO.NET
  • Providers and Drivers
  • New Features
  • ADO 2.8
  • Examples 1-3
  • Examples 4-6
  • Language Differences
  • Creating Objects in JScript, Visual C and .NET

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    What is ADO? - Providers and Drivers


    (Page 6 of 12 )

    It’s important to understand how OLE DB Providers relate to ODBC Drivers, especially because an OLE DB Provider exists for ODBC, which seems somehow confusing. Take a look at this diagram, which shows the difference between providers and drivers:

    This distinctly shows the two layers. You can use OLE DB Providers to access data sources, including ODBC data sources. This allows OLE DB to access data for which there is an ODBC Driver, but no native OLE DB Provider (such as DAV or Directory Services). Note that the ODBC provider is deprecated, and although it will still work and is still supported, it may not be in the future. For example, no new changes will be made to the OLE DB Provider for ODBC, it is not supported from ADO.NET, and it will not be supported on 64-bit operating systems.

    The essential distinction is that Providers are for OLE DB and Drivers are for ODBC.

    Windows Distributed interNet Application Architecture (Windows DNA)

    DNA is the strategy that Microsoft is defining as the ideal way to write distributed, n-tier, client/server applications. One of the interesting things about this strategy is that it’s really just a set of ideas and suggestions, rather than a complex, locked-in solution. It’s not a new idea, but some really good tools now make creating this type of application relatively easy.

    The basic premise is to partition your application into at least three tiers, illustrated in this diagram:

    The first tier is the user interface tier—this is what the user sees, and could be a Web page or another type of application written in any language. The second tier is where the business rules or processes lie; these determine where the data comes from, what rules apply to the data, and how it should be returned to the user interface. The third tier is the data layer—the actual data source.

    The great thing about DNA is that it aims to be language-independent; it all hinges around COM (COM+ in Windows 2000 and later). COM allows easy object creation and re-use. Any component that supports COM will fit into this picture, so you can write your application in ASP and JavaScript, Visual Basic, Visual C++, Delphi, or any language that supports COM. Likewise, your business components can be in any language, so you can program in your preferred environment; there’s no need to learn a new language.

    In the preceding diagram, you can see that Internet Information Server (IIS) and Microsoft Transaction Server (MTS) are mentioned in the Business Processes tier. IIS supplies the connection from Web applications to components, which could be MTS components or standalone components (that is, components not managed by MTS). The great advantage of MTS is that it makes your middle tier very easy to manage; you can just create a component and install it in MTS. Once you’ve done that, it becomes available to all applications that can call components. You can access the components on remote machines using DCOM, MTS, or HTTP (with RDS). You also get the added advantage of transaction processing and easy scalability without having to program it yourself. The user interface can then be built in any language that supports COM.

    ADO Availability

    The Microsoft Data Access Components (MDAC) are available as a separate download from the Microsoft Web site at http://www.microsoft.com/data. The file name is MDAC_TYPE.EXE.

    If you’re unsure what version of ADO, or any of its components, you’ve got installed, download the Component Checker from http://www.microsoft.com/data/download.htm. This utility will give you a complete list of ADO DLLs and their version numbers. You can also use the Version property of the Connection object (see Chapter 3). 

    This is from ADO Programmer's Reference, by Dave Sussman (Apress, ISBN 1590593421). Check it out at your favorite bookstore today. Buy this book now.

    More ASP.NET Articles
    More By Apress Publishing


     

    ASP.NET ARTICLES

    - Retrieving Data with AJAX and the GridView C...
    - Playing with Images in ASP.NET 3.5 AJAX Appl...
    - Saving and Retrieving Data with AJAX
    - Enhancing PHP Via the ASP.NET AJAX Framework...
    - Enhancing PHP Programming with the ASP.NET A...
    - Classes and ASP.NET AJAX
    - Using ASP.NET AJAX
    - Building a Simple Storefront with LINQ
    - Developing a Dice Game Using ASP.NET Futures...
    - Completing an ASP.NET AJAX Server-Centric Ba...
    - Information Management for an ASP.NET AJAX S...
    - Comment and Order Management for an ASP.NET ...
    - Back-end Management Tasks for an ASP.NET AJA...
    - User Information Management for an ASP.NET A...
    - Adding Comments and Search to an ASP.NET AJA...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway