Connection strings for Paradox
Connection strings for Paradox
Providers for Paradox
» Microsoft Jet OLE DB 4.0
» Microsoft Paradox Driver
» Intersolv 3.11 ODBC Driver
» .NET Framework Data Provider for ODBC (OdbcConnection)
Community Forums
Find solutions and post questions regarding connection string related issues.
Microsoft Jet OLE DB 4.0
Type: OLE DB Provider
Usage: Provider=Microsoft.Jet.OLEDB.4.0
Manufacturer: Microsoft
Customize string example values »
Standard
Provider =Microsoft.Jet.OLEDB.4.0; Data Source =c:\myDb; Extended Properties =Paradox 5.x;
Please note that you should only specify the folder where the database resides. Not the database name itself.
MS kb-article: How to use Paradox data with Access and Jet
How to Use JET in 64 bit environments >>
Microsoft Paradox Driver
Type: ODBC Driver
Usage: Driver={Microsoft Paradox Driver (*.db )}
Manufacturer: Microsoft
Customize string example values »
5.X
Driver ={Microsoft Paradox Driver (*.db )}; DriverID =538; Fil =Paradox 5.X; DefaultDir=c:\pathToDb\; Dbq =c:\pathToDb\; CollatingSequence =ASCII;
7.X
Provider =MSDASQL; Persist Security Info =False; Mode =Read; Extended Properties='DSN=Paradox;DBQ=C:\myDb;DefaultDir=C:\myDb;DriverId=538;FIL=Paradox 7.X;MaxBufferSize=2048;PageTimeout=600;'; Initial Catalog =C:\myDb;
Please note that this one only supports read operations.
Intersolv 3.11 ODBC Driver
Type: ODBC Driver
Usage: DSN=myDSN
Manufacturer: DataDirect Technologies
Customize string example values »
7.X
DataDirect provides this Paradox 7.x table format driver with read-write capability. Note that Paradox tables remain frozen at table format 7.x, That means that software mentioning Paradox 8, 9, 10 tables are really always referencing format 7.x.
DSN =MyDSN; AUT =1; CT =7; DQ =0; FOC =0; IS =1; PW =myPassword; USF =1; ULQ =1;
Not all parameters are required, most of them can be set at the DSN system config.
Parameters definition<br/> AUT - ApplicationUsingThreads<br/> CT - CreateType<br/> DB - Database<br/> DSN - DataSourceName<br/> DQ - DeferQueryEvaluation<br/> FOC - FileOpenCache<br/> IS - IntlSort<br/> ND - NetDir<br/> PW - Passwords<br/> USF - UltraSafeCommit<br/> ULQ - UseLongQualifiers<br/>
.NET Framework Data Provider for ODBC
Type: .NET Framework Wrapper Class Library
Usage: System.Data.Odbc.OdbcConnection
Manufacturer: Microsoft
More info about this wrapper class library »
Customize string example values »
Bridging to Microsoft Paradox ODBC Driver
This is just one connection string sample for the wrapping OdbcConnection class that calls the underlying ODBC Driver. See respective ODBC driver for more connection strings to use with this class.
Driver ={Microsoft Paradox Driver (*.db )}; DriverID =538; Fil =Paradox 5.X; DefaultDir=c:\pathToDb\; Dbq =c:\pathToDb\; CollatingSequence =ASCII;
NET Framework Data Provider for ODBC
This is a .NET Framework Wrapper Class Library provided by Microsoft.
The wrapper class library is contained in the file System.Data.dll.
Coding
Add a reference to the assembly System.Data and include the System.Data.Odbc namespace. Instantiate a new OdbcConnection connection object. Set the connection string and open the connection.
VB.NET code sample
Imports System.Data.Odbc
Dim myConnection As OdbcConnection = New OdbcConnection;();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
//execute queries, etc
myConnection.Close()
C# code sample
using System.Data.Odbc;
OdbcConnection myConnection = new OdbcConnection;();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
//execute queries, etc
myConnection.Close();
Description
The .NET Framework Data Provider for ODBC uses native ODBC Driver Manager through COM interop to enable data access. The OdbcConnection wraps/bridges to the underlying driver sprecified in the connection string using the keyword "Driver" or "DSN" (if the connection should obtain its settings from an ODBC DSN). This means that virtually every ODBC driver can be used through this class library. The .NET Framework Data Provider for ODBC supports both local and distributed transactions. For distributed transactions, the .NET Framework Data Provider for ODBC, by default, automatically enlists in a transaction. Depending on the functionality supported by the native ODBC driver, some methods or properties of an OdbcConnection object may not be available.;
More info about this wrapper class library can be found at the Microsoft product page.
Connection Strings
The .NET Framework Data Provider for ODBC wrapper class library can be used to connect to the following data sources.
To see the available connection options, navigate to the connection strings reference by clicking the data source link.
下面是网页翻译
悖论的连接字符串
提供用于悖论
的Microsoft Jet OLE DB 4.0
» 微软Paradox驱动程序
» INTERSOLV 3.11 ODBC驱动程序
» 。NET框架数据提供程序的ODBC(OdbcConnection)
社区论坛
关于连接字符串相关的问题寻找解决方案和张贴问题。
微软Jet OLE DB访问4.0
类型: OLE DB提供程序使用方法: 供应商= Microsoft.Jet.OLEDB.4.0
制造商: 微软
自定义字符串示例值
标准
供应 商= Microsoft.Jet.OLEDB.4.0 ;数据 源= C:\ mydb 的扩展 属性=悖论5.x的 ;
请注意您应该只指定数据库所在的文件夹。不是数据库的名称本身。
MS KB文章:如何使用Access和Jet Paradox数据
微软Paradox驱动程序
类型: ODBC驱动程序的用法 :DRIVER = {微软Paradox驱动程序(*. DB) }
制造商: 微软
自定义字符串示例值
5.X
驱动程序 = {微软Paradox驱动程序(*. DB)}; DriverID = 538; FIL =悖论5.X; DEFAULTDIR = C:\ pathToDb \;DBQ = C:\ pathToDb \; CollatingSequence = ASCII码;
7.X
供应 商= MSDASQL ;坚持安全 信息= FALSE ; 模式=读 ;扩展 属性='DSN =悖论; DBQ = C:\ MYDB; DEFAULTDIR = C:\ MYDB; DriverId = 538; FIL =悖论7.X; MaxBufferSize = 2048 PageTimeout的= 600;“ 初始目录 = C:\ MYDB;
请注意,这其中只支持读操作。
INTERSOLV 3.11 ODBC驱动程序
类型: ODBC驱动程序使用 DSN = myDSN
制造商: DataDirect的技术
自定义字符串示例值
7.X
DataDirect的这一悖论的7.x表格式的驱动程序提供读写能力。需要注意的是Paradox表的冻结留在表格式7.x中,这意味着,软件提的悖论8,9,10桌真的总是引用格式7.x中
DSN = MyDSN; 奥克兰 = 1; CT = 7; DQ = 0; FOC = 0 ; = 1; PW =输入mypassword; USF = 1; ULQ = 1;
并非所有的参数是必需的,其中大多数是可以设置在DSN系统 配置参数的定义<BR/>奥克兰- ApplicationUsingThreads <BR/>的CT - CreateType <BR/>数据库-数据库<BR/>的DSN -的DataSourceName < BR /> DQ - DeferQueryEvaluation <BR/>之友- FileOpenCache <BR/> - IntlSort <BR/> ND - NetDir <BR/> PW -密码<BR/> USF的- UltraSafeCommit <BR/> ULQ - UseLongQualifiers <BR / >
用于ODBC的。NET Framework数据提供
类型: 。NET框架包装类库用法: System.Data.Odbc.OdbcConnection
制造商 :微软关于这个包装类库的详细信息»
自定义字符串示例值
桥接微软悖论ODBC驱动程序
这仅仅是一个包装OdbcConnection类,调用底层的ODBC驱动程序的连接字符串例子。使用这个类的更多连接字符串,请参阅各自的ODBC驱动程序。
驱动程序 = {微软Paradox驱动程序(*. DB)}; DriverID = 538; FIL =悖论5.X; DEFAULTDIR = C:\ pathToDb \;DBQ = C:\ pathToDb \; CollatingSequence = ASCII码;
用于ODBC的。NET Framework数据提供
这是一个。NET Framework的包装类图书馆所提供的微软。
包装类库中包含的文件System.Data.dll中。
编码
添加到大会System.Data的参考,包括System.Data.Odbc命名空间 。实例化一个新的OdbcConnection连接对象 。设置连接字符串,并打开连接。VB.NET代码示例
由于OdbcConnection 进口System.Data.Odbc DIM MyConnection的=新OdbcConnection();
myConnection.ConnectionString = myConnectionString
myConnection.Open()
/ /执行查询等
myConnection.Close()
C#代码示例
使用System.Data.Odbc;
MyConnection的OdbcConnection =新OdbcConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
/ /执行查询等
myConnection.Close();
说明
的。NET Framework数据提供程序通过COM interop使用本地的ODBC驱动程序管理器,使数据访问。OdbcConnection包装/桥到底层驱动程序在连接字符串中使用关键字“驱动程序”或“DSN”(如果连接应该获得其设置一个ODBC DSN)sprecified。这意味着几乎所有的ODBC驱动程序可以通过这个类库使用。的。NET Framework数据提供程序支持本地和分布式事务。对于分布式事务。NET Framework数据提供程序用于ODBC,默认情况下,在一个事务中自动登记。根据本地ODBC驱动程序支持的功能,OdbcConnection对象的一些方法或属性可能无法使用。
连接字符串
可以使用的。NET Framework数据提供者为ODBC包装器类库连接到下列数据源,要查看可用的连接选项,通过点击数据源的链接导航连接字符串 参考。