| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1141 人关注过本帖
标题:一个白痴的问题!不要见笑!
只看楼主 加入收藏
fandy81
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2005-4-29
收藏
 问题点数:0 回复次数:4 
一个白痴的问题!不要见笑!
<% set con=server.CreateObject("adodb.connection")
         con.Open "provider=sqloledb;user id=fang;password=123456;initial catalog=fang;
data source=192.168.6.214;connect timeout=30"  %>
哪位高手能帮我解释一下上面语句的意思?谢谢!
搜索更多相关主题的帖子: 见笑 fang con timeout catalog 
2005-05-05 10:45
卜酷塔
Rank: 7Rank: 7Rank: 7
来 自:魅力青岛
等 级:禁止访问
威 望:39
帖 子:2569
专家分:0
注 册:2004-6-12
收藏
得分:0 
一个白痴的问题!不要见笑!
建议使用udl文件,这个文件的可移植性极强。

觉得为时已晚的时候,恰恰是最早的时候。

2005-05-05 10:55
griefforyou
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:3336
专家分:0
注 册:2004-4-15
收藏
得分:0 
提供者 sqloledb
用户名 fang
密 码 123456
数据库 fang
数据源 192.168.6.214
连接超时 30秒

天津网站建设 http://www./
2005-05-05 17:05
fandy81
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2005-4-29
收藏
得分:0 
请问一下"provider=sqloledb"数据库的提供者是系统指定的吗?能人为的更改吗?
2005-05-06 09:02
griefforyou
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:3336
专家分:0
注 册:2004-4-15
收藏
得分:0 

Microsoft OLE DB Overview OLE DB is a set of interfaces that expose data from a variety of sources using the OLE Component Object Model (COM). OLE DB interfaces provide applications with uniform access to data stored in diverse information sources. These interfaces support the amount of DBMS functionality appropriate to the data source, enabling it to share its data.

For information on support for Microsoft data access components, see the Getting Help from Microsoft Technical Support page.

© 1998 Microsoft Corporation. All rights reserved.

The rest of this topic comprises a summary of useful items that accompany this release of OLE DB.

Core Components Three redistributable components accompany the OLE DB SDK: the OLE DB Data Conversion Library, the OLE DB Row Position Object, and the OLE DB Root Enumerator Object.

Component File Interface(s) Data Conversion Library MSDADC.DLL IDataConvert Supports a limited set of conversions. Row Position Object MSDADC.DLL IRowPosition IRowPositionChange Root Enumerator Object MSDAENUM.DLL

For more information about the components, see Core Components.

Data Link API The Data Link API exposes a user interface that can be implemented in applications to create and manage connections to ADO and OLE DB data sources.

For more information about the Data Link API, see the Data Link API Overview.

OLE DB Programmer's Reference 2.0 The OLE DB Programmer's Reference is divided into three sections: conceptual matter, interface descriptions, and detailed information in the appendixes. The reference contains enhanced explanations and clarifications to the conceptual material. Links to related information have been added for easier navigation, as well as new interfaces, data types, schema rowsets, and properties.

Please see the Web page for OLE DB Release Notes at http://www.microsoft.com/data/oledb/.

OLE DB Providers Four OLE DB providers are included with this version of OLE DB.

Provider Description OLE DB Provider for Oracle Allows high performance and functional access to Oracle data for Visual Basic® applications. OLE DB Provider for ODBC Provides access to ODBC data sources by exposing OLE DB interfaces, methods and properties with certain limitations. OLE DB Provider for Microsoft® Jet Allows Microsoft Jet-specific implementation of standard OLE DB interfaces, methods, and properties. OLE DB provider for Microsoft® SQL Server™ Exposes interfaces to consumers wanting access to data on one or more SQL Servers.

OLE DB Simple Provider (OSP) Toolkit The Microsoft OLE DB Simple Provider Toolkit is designed for quickly building OLE DB providers over simple data sources (for example, in-memory arrays) and exposing this data to any OLE DB consumer (such as ActiveX Data Objects, or any OLE DB-compliant application or control). This allows developers to expose OLE DB interfaces without spending the time needed to build an entire OLE DB provider from scratch. The toolkit is language neutral, supporting implementations in Microsoft® Visual Basic®, Microsoft® Visual C++®, or Microsoft® Visual J++™.

For more information about the OSP Toolkit, see the overview of the OLE DB Simple Provider Toolkit.

ActiveX Control Writer Toolkit The ActiveX Control Writer Toolkit is an introduction for control writers to OLE DB control writing techniques. In addition, it assists in migrating obsolete ICursor interface controls to OLE DB. The toolkit contains the document, header files, libraries with source code, and samples.

OLE DB for Online Analytical Processing (OLAP) OLE DB for OLAP is a set of COM (Component Object Model) objects and interfaces designed to facilitate communication between providers and consumers of multidimensional data. OLE DB for OLAP is an extension of OLE DB version 2.0.

Test Tools Nondistributable testing components can be used to assist in the development of OLE DB consumers and providers. For more information about the tools, see OLE DB SDK Test Tools.

Test tool Description Interface Test Tool (ITest) A COM interface testing environment to exercise and explore OLE DB providers and to record the results of these actions. ITest Spy Tool Enables the recording of calls executed by an OLE DB consumer. Local Test Manager (LTM) Provides a single point of control for automated testing of OLE DB providers. OLE DB Test Editor Enters the automated test framework code in a .cpp file for use with the Local Test Manager. QuikTest Test Module Produces a useful overview of provider functionality. Unsupported Sample Test Modules Sample test modules.

OLE DB Samples Samples are provided as a quick way to construct and observe OLE DB interfaces. Included with OLE DB are the following:

Sample Use Sample Consumer Demonstrates how to build a simple consumer. Query Demo Demonstrates how to build a consumer capable of issuing queries. Rowset Viewer Provides a simple way to view and manipulate rowsets. Table Copy Demonstrates a simple consumer that reads data from one OLE DB rowset and saves it as a new table.

For more information on samples, see the OLE DB Samples.

[此贴子已经被作者于2005-5-6 11:44:30编辑过]


天津网站建设 http://www./
2005-05-06 11:42
快速回复:一个白痴的问题!不要见笑!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.023752 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved