OLEDB ConnectionString for iSeries in C# 5.0 VisualStudio 2012
I need to establish a ConnectionString using OLEDB inside VisualStudio
2012 in C# 5.0 so I coded:
SQLConn = new SqlConnection("Data Source=STX;Persist Security
Info=False;User ID=JG0149;Password=MYPASS;Initial Catalog=LIBJG");
The credentials work pretty good on the STX iSeries system
There are many examples using VS 2010 and C# 4.0 but it does not work on
C# 5.0 similar to those found in www.connectionstring,com/as-400/
SQLConn = new SqlConnection("Provider=IBMDA400;Data Source=STX;User
Id=JG0149; Password=MYPASS; Default Collection=LIBJG")
but VS2012 does not accept Provider parameter and requests other ones
May someone have a ConnectionString that works in VS2012 to connect into a
iSeries to share, please?
No comments:
Post a Comment