用ado连接Informix的资料

ado

原文地址
http://examples.informix.com/white_papers/appeng/3rd_party/ado_iis/ado_iis_note_ibyx.html

-----------------------------------------------------------------------
Using ADO with IIS to connect to an Informix Database
Introduction
Informix CLI Driver
Microsoft Internet Information Server
ActiveX Data Objects
Installing Informix CLI Driver
Windows NT 4.0
Installing IIS / ADO
Windows NT 4.0
Specifications for Informix ODBC Drivers

Using Informix CLI driver with IIS/ADO

Configuration

Examples
Detailed Steps for Windows NT Samples

Conclusion
Useful Links
History
1. Introduction
IIS and ADO are part of Microsoft抯 Universal Data Access strategy. ActiveX Data Objects (ADO) enables users to write an application to access and manipulate data in a database server through an OLE DB provider. ADO's primary benefits are ease of use, high speed, low memory overhead, and compactness. ADO supports key features for building client/server and web-based applications.

Goals for this integration note were:

To understand the working of ADO and IIS.
To investigate the working Informix CLI driver with ADO with IIS.
To investigate the working Informix CLI driver with ADO with Visual Basic.
Informix CLI Driver
We used Informix CLI Driver 2.8. This driver is contained in the Informix Client SDK 2.03.

Microsoft Internet Information Server
Microsoft Internet Information Server is a Web server that enables users to publish information on a corporate intranet or on the Internet. The IIS supports HTTP, FTP and gopher services. IIS 4.0 is included in Microsoft NT Server 4.0 suite.

Click here for more information on IIS.

ActiveX Data Objects
ActiveX Data Objects (ADO) is included with Internet Information Server 4.0. ADO is an ODBC standard-compliant set of interfaces that expose the database functionality in databases through accessible objects. Many shortcuts speed up common scripting operations. ADO can be used with any language, such as JavaScript, VB Script, and Perl.

Because ADO works with OLE-DB providers, it can access a variety of data sources. Data sources include both traditional relational database management systems and non-database sources such as file systems, directories, spreadsheets, and full-text indexes. ADO can be easily optimized for different databases. Because ADO is used with Active Server. Pages--the dynamic content and server-side scripting environment for IIS--developers can write conditional scripts that execute different SQL commands based upon the ODBC driver being used.

Applications can be customized for different customers without having to change the code.

Click here for more information on ADO.

2.0 Installing Informix CLI Driver
Windows NT 4.0
Informix Client SDK 2.03 needs to be installed to use ADO with IIS to access Informix data. The Informix CLI Driver 2.8 comes with the Development Kit. Download Informix Client SDK 2.03.

3.0 Installing IIS/ADO
In order to install IIS/ADO, the following software is needed on your system:

ODBC 3.0
NT Server 4.0
Internet Explorer 4.0 or higher
Visual Basic 5.0 or higher
All these products can be obtained from Microsoft Corp. For details refer to the Microsoft site.

ActiveX Data Objects (ADO) is included with Internet Information Server 4.0. You may need to install ADO 2.0.

The IIS site provides additional information on administration and maintenance of IIS and its components.

4. Specifications for Informix ODBC Drivers
Informix CLI Driver
See http://www.informix.com/informix/techbriefs/cli/cli.htm for a techbrief on Informix CLI drivers.

Note that the current version of Informix CLI driver 2.8 only supports ODBC specifications through version 2.5.Unlike Merant drivers, Informix CLI drivers support BLOB/CLOB functionality.

Merant Data Direct ODBC Driver for Informix
Click here for information on Merant ODBC drivers for Informix.

5. Using Informix CLI driver with IIS/ADO
Typically, when the IIS services a request for data on a Web page, many data components are involved. All processing is done on the middle tier; the end user's computer simply makes the request and receives the results. Processing the request for data consists of these steps:

The Active Server Pages (ASP) makes the call to the OLE-DB data provider.
The OLE-DB data provider services the request and performs the query on the database; or, in the case of the OLE-DB data provi

时间: 2024-08-03 17:43:25

用ado连接Informix的资料的相关文章

ado-VS2013C++ADO连接自带SQLServer本地数据库,多步OLEDB操作错误

问题描述 VS2013C++ADO连接自带SQLServer本地数据库,多步OLEDB操作错误 VS2013连接自带SQLServer本地数据库,工具-连接服务器或者连接数据库都能成功,但是在运行的时候ADO连接总是提示"多步OLEDB操作错误"(异常的描述信息). 连接数据库代码 void ADOConn::InitADOConn() { if (m_pConnection) { return; } // 初始化OLE/COM库环境 ::CoInitialize(NULL); try

ado-c++ ADO 连接ORACLE 数据库 windows系统验证方式连接老是失败.

问题描述 c++ ADO 连接ORACLE 数据库 windows系统验证方式连接老是失败. 开发过程中要用C++ 连接oracle 数据库,但是由于数据库的密码不知道,所有用系统验证的方式连接数据库,但是查询了网上的各种资料,一直都无法连接上数据库. 参考到的资料有.http://www.codeproject.com/Articles/2304/ADO-Connection-Strings http://www.connectionstrings.com/oracle/ 代码: OLE DB

networking-windowCE C#开发的应用程序下连接informix

问题描述 windowCE C#开发的应用程序下连接informix 各位高手,最近CE下的项目需要从sqlserver的数据库移植到informix的数据库. 环境:linux操作系统用开源版本centos6.5 informix免费版:IBM Informix Dynamic Server Version 11.70.FC8IE VS2008,程序运行:CE5与CE6,终端型号:MC3090(ce5)与MC3190(ce6) 我按照ado.net的连接试了下,下载了IBM.Data.Info

菜鸟学ADO实例教程之ADO连接对象

ado|对象|教程 本站原创内容,转载请注明出处网页教学网. ADO连接对象是用来创建一个打开一个数据源的连接,通过这个连接我们就可以存取或操作数据库了. 具体的连接对象的属性和方法我们将在其他文章中给大家介绍. ADO 记录集 为了能读出数据库中的数据,我们必须先加载记录集 创建一个 ADO 数据表记录集 我们首先创建了一个名为"webjx"数据库,然后在数据库创建一个表"Customers",注意数据库所在的目 录.我们用下面的代码就可以连接数据库表了. <

防止ADO连接SQL Server时的隐式连接

ado|server 防止ADO连接SQL Server时的隐式连接Report Date:   2002/9 Prepared by:     郑            昀 Article last modified on 2002-9 The information in this article applies to: ü         Microsoft SQL Server 2000,7.0 ü         Microsoft ADO 2.5问题陈述:数据库服务器:Microso

教你快速掌握JDBC连接Informix IDS

本文主要介绍了JDBC连接Informix IDS的具体过程,主要包括环境说明.JDBC配置以及演示代码. 1.环境说明 OS: Windows XP Informix: IDS V10.00.TC1 JDBC: Informix JDBC Embedded SQLJ V2.20JC2 2.JDBC配置 安装完Informix JDBC后把ifxjdbc.jar路径加到CLASSPATH环境变量中,比如CLASSPATH=C:\ifxjava_home\lib\ifxjdbc.jar;....

JDBC连接Informix IDS的过程

本文主要介绍了JDBC连接Informix IDS的具体过程,主要包括环境说明.JDBC配置以及演示代码. 1.环境说明 OS: Windows XP Informix: IDS V10.00.TC1 JDBC: Informix JDBC Embedded SQLJ V2.20JC2 2.JDBC配置 安装完Informix JDBC后把ifxjdbc.jar路径加到CLASSPATH环境变量中,比如 CLASSPATH=C:\ifxjava_home\lib\ifxjdbc.jar;....

如何利用UDL文件来建立ADO连接

使用通用数据连接文件(*.UDL,以下简称文件)来创建ADO连接,可以和ODBC一样可视化地定义要连接的数据源,从而实现数据访问的透明性. 1.使用UDL文件来创建ADO连接 创建ADO的连接,首先要设置ADO连接对象的ConnectionString属性,该属性提供所要连接的数据库类型.数据所处服务器.要访问的数据库和数据库访问的安全认证信息.比较专业的方法是在ConnectionString中直接提供以上信息,下面是访问不同类型数据源设置ConnectionString的标准: 访问ODBC

ADO连接Access的几种规范做法

  ADO连接Access的几种规范做法: ADO数据对象用来连接数据库的方式有两种,分别是ODBC和OLE DB方式 (一) 使用OLE DB方式 ******************************************************** *** OLE DB Provider for Microsoft Jet ******************************************************** Dim oConn,strConn Set o