c# - .NET DB2 OLEDB pre-requisites -


i have written windows forms application in c#, .net framework 2.0, uses system.data.oledb talk sql server 2000 database, working fine. need enhance application talk db2 database on as/400. matter of configuring connection string, or need additional driver software (where from) and/or references in project?

i still use oledb, db2.

edit: downloaded microsoft ole db provider unable install onto desktop development pc because not have sql server installed. provider seems integrating sql server db2, whereas want integrate windows forms application db2. there different download location ole db provider not require sql server, can use windows desktop?

you can use microsoft's oledb db2 provider this. connection string change.

like:

provider=db2oledb;network transport library=tcpip;network address=xxx.xxx.xxx.xxx;initial catalog=myctlg;package collection=mypkgcol;default schema=schema;user id=myusername;password=mypassword;

or can use ibm's own ibm ole db provider db2 works without sql server.

you should @ connection strings ibm db2 other providers , configuration.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -