How to use IBM OLE DB Provider for DB2

This article deals with connection string related to IBM OLE DB Provider for DB2.
  • 1631
Encapsulating IBM OLE DB Provider for DB2

The connection string given below encapsulates the OleDbConnection class that calls the OLEDB provider. To use IBM ODBC driver in your program use the following connection string

Provider=IBMDADB2;Database=User_Database;Hostname=SpecifiedServerAddress;Protocol=TCPIP; Port=50000;Uid=Username;Pwd=User_password;

Further Readings


You may also want to read these related articles.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2019 DotNetHeaven. All rights reserved.