Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Task Read data from IBM AS/400 DB2 to Vb.net application

$
0
0
Ok, my task is to take a order number and gather the information tied to it from a db..

I've been trying to connect to the database with the ODBC and OLE connection strings, but it doesnt seem to connect...

Database is IBM AS/400 DB2 iSeries

does anyone have any information or previous experience with connecting to a db like this?

I'm not on the same network as the db so I'm trying to remotely connect is this possible? Also does the dll file for ODBC or OLE have to be stored in the BIN file of the server?

CODE:

Dim con As New OdbcConnection("DSN=sample;UID=userid;PWD=password;")
con.Open()



Thanks, Logan

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>