Last post Oct 25, 2016 01:34 PM by deepalgorithm
Jan 31, 2016 03:50 AM|Peter Cong|LINK
Hi, I am trying to connect DB2 database,
in connectionstring I used this format:
= IBMDADB2.1;persist security info = false;data source = sample;";
so in my case, I have something like this:
connectionString = @"provider
Here, I do not know how to input the value for "provider" above, so the connection was failed.
How where can I find the provider? is it a DB2 driver I should download and import it to my asp.net
or it is the db2 version I can query from my DB2 database and used here? thanks
Oct 25, 2016 01:34 PM|deepalgorithm|LINK
Yes you need the IBM Data Server Driver.
And your connection string would look like one of the following: