G
Guest
I am trying to connect to as400 using oledbconnection
the connection is opened but when i try to retreive data i get an error
message
cn = New OleDb.OleDbConnection(StrAS400)
cn.Open()
cmd = New OleDb.OleDbCommand(StrSql, cn)
dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
StrAS400 is the connection string
Provider=IBMDA400;Data Source=xxxxxx;User Id=xxxxx;Password=xxxxxx;
Can anybody help me?
the connection is opened but when i try to retreive data i get an error
message
cn = New OleDb.OleDbConnection(StrAS400)
cn.Open()
cmd = New OleDb.OleDbCommand(StrSql, cn)
dr = cmd.ExecuteReader(CommandBehavior.CloseConnection)
StrAS400 is the connection string
Provider=IBMDA400;Data Source=xxxxxx;User Id=xxxxx;Password=xxxxxx;
Can anybody help me?