Brad,
Another option would be to use a fully 100% managed ADO.NET provider
for DB2. This solution would not require any client software from IBM.
DataDirect's Connect for .NET has such a provider that can be
downloaded from their website. The jump page for Connect for .NET is:
http://www.datadirect.com/products/dotnet/index.ssp
The download is a fully functional trial version and should be much
faster than the ODBC solution you are currently using. As it is also
100% managed code, you'll also be able to take advantage of .NET
framework features such as security and automatic memory management.
The footprint for this provider is also much smaller than that of the
ODBC solution as you won't need to install the DB2 client software.
Hope this helps,
Bill Fahey
(bill dot fahey at datadirect dot com)
"Jay B. Harlow [MVP - Outlook]" <
[email protected]> wrote in message
Brad,
Its best to be on Client Access V5R2 or later (with current all PTFs) to be
fully supported from .NET. (I understand that you can remain on an older
OS/400 such as V4R5, its the client that needs to be current).
http://www-1.ibm.com/servers/eserver/iseries/access/oledb/index.html
http://www-912.ibm.com/n_dir/nas4ap...6be4003c8957?OpenDocument&Highlight=2,ii13341
The above links are from June 3rd, not sure if there are more current
versions with better support...
If you look around the SQL Thing site (
http://www.sqlthing.com) and the
above sites you should come across a number of samples and further
information.
As Armin suggested, the microsoft.public.dotnet.framework.adonet newsgroup
will provide "better" ADO.NET support.
Hope this helps
Jay
Sorry to repeat myself if this is the same question I asked in the
past,
but
I have finally made a connection to our AS400 through ODBC. I tried
to
get
the connection using the data connection wizard and the OLE DB connection,
but I was getting a winsock error. Is there a better way for me to connect?
ODBC seems to be slow and cumbersome.
Thanks for the information and any tips on using .NET with AS400 would be
appreciated.
Thanks again.
Brad