473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

DbII and .net

Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano
Jul 21 '05 #1
3 1525
you mean IBM's DB2 ?
yes, it is possible to connect.

You can use managed providers or non-managed providers.

Of the managed providers, there are different sources:

IBM
IBM offers their managed provider as a feature of IBM DB2 Connect (I think
in 8.1.2), and also DB2 UDB 8.1.2. If you are trying to get to the
mainframe or to DB2/400, you want the former. DB2 Connect is available in a
number of licensing options: desktop only, server only (per server or per
processor), and enterprise-wide. I am not an IBM employee, so FWIW.

Microsoft
The DB2 managed provider is a feature of Host Integration Server 2004, which
is set to go to public beta, soon.
Written in C#, sits directly on top of the new Microsoft DRDA AR (DB2
network client) . Result: better performance.
No Visual Studio integration at this time.

DataDirect
http://www.ddtek.com/. I understand the db2 managed provider is under
development but have no further details.

Mono
I have now heard that the mono project is building a managed provider for
DB2. I have no details on this.

----------------------
In addition, there are the non-managed ways to get to DB2, from within
ADO.NET:

-The ODBC provider, of course, that ships with DB2 since v5? Use
System.Data.Odbc .
-The MS OLEDB provider (aka DB2OLEDB) that ships with HIS 2000. Use
System.Data.OleDb .
-The IBM OLEDB provider (aka IBMDADB2) bundled with DB2 since v6. Use to
DB2 v7.2 FP6 or later (current is FP9), you will get some improvements in
the data client. Use System.Data.OleDb .
All of these ways work, but there are some variations wrt support for blobs,
transactions, cursors, and etc. Also there are some version issues. For
example, the MS OLEDB provider, from HIS 2000, I found, did not work with
DB2 UDB v8.1. However the managed provider from IBM does not work with v7
of DB2 UDB ! I don't have an AS400 so cannot tell you what works with
that.... ?
-Dino


"Valeria" <va***@tiscali.it> wrote in message
news:c8*********************@news1.tin.it...
Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano

Jul 21 '05 #2
Thank you very much.
I can try the AS400 so after I can tell you if it works!
Regards
Valeria
"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> ha scritto nel
messaggio news:%2****************@TK2MSFTNGP09.phx.gbl...
you mean IBM's DB2 ?
yes, it is possible to connect.

You can use managed providers or non-managed providers.

Of the managed providers, there are different sources:

IBM
IBM offers their managed provider as a feature of IBM DB2 Connect (I think
in 8.1.2), and also DB2 UDB 8.1.2. If you are trying to get to the
mainframe or to DB2/400, you want the former. DB2 Connect is available in a number of licensing options: desktop only, server only (per server or per
processor), and enterprise-wide. I am not an IBM employee, so FWIW.

Microsoft
The DB2 managed provider is a feature of Host Integration Server 2004, which is set to go to public beta, soon.
Written in C#, sits directly on top of the new Microsoft DRDA AR (DB2
network client) . Result: better performance.
No Visual Studio integration at this time.

DataDirect
http://www.ddtek.com/. I understand the db2 managed provider is under
development but have no further details.

Mono
I have now heard that the mono project is building a managed provider for DB2. I have no details on this.

----------------------
In addition, there are the non-managed ways to get to DB2, from within
ADO.NET:

-The ODBC provider, of course, that ships with DB2 since v5? Use
System.Data.Odbc .
-The MS OLEDB provider (aka DB2OLEDB) that ships with HIS 2000. Use
System.Data.OleDb .
-The IBM OLEDB provider (aka IBMDADB2) bundled with DB2 since v6. Use to
DB2 v7.2 FP6 or later (current is FP9), you will get some improvements in
the data client. Use System.Data.OleDb .
All of these ways work, but there are some variations wrt support for blobs, transactions, cursors, and etc. Also there are some version issues. For
example, the MS OLEDB provider, from HIS 2000, I found, did not work with
DB2 UDB v8.1. However the managed provider from IBM does not work with v7
of DB2 UDB ! I don't have an AS400 so cannot tell you what works with
that.... ?
-Dino


"Valeria" <va***@tiscali.it> wrote in message
news:c8*********************@news1.tin.it...
Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano


Jul 21 '05 #3
DB2
You can also try StarSQL from StarQuest (www.starquest.com) which is
also a driver for DB2,

Bob

"Dino Chiesa [Microsoft]" <di****@online.microsoft.com> wrote in message news:<#K**************@TK2MSFTNGP09.phx.gbl>...
you mean IBM's DB2 ?
yes, it is possible to connect.

You can use managed providers or non-managed providers.

Of the managed providers, there are different sources:

IBM
IBM offers their managed provider as a feature of IBM DB2 Connect (I think
in 8.1.2), and also DB2 UDB 8.1.2. If you are trying to get to the
mainframe or to DB2/400, you want the former. DB2 Connect is available in a
number of licensing options: desktop only, server only (per server or per
processor), and enterprise-wide. I am not an IBM employee, so FWIW.

Microsoft
The DB2 managed provider is a feature of Host Integration Server 2004, which
is set to go to public beta, soon.
Written in C#, sits directly on top of the new Microsoft DRDA AR (DB2
network client) . Result: better performance.
No Visual Studio integration at this time.

DataDirect
http://www.ddtek.com/. I understand the db2 managed provider is under
development but have no further details.

Mono
I have now heard that the mono project is building a managed provider for
DB2. I have no details on this.

----------------------
In addition, there are the non-managed ways to get to DB2, from within
ADO.NET:

-The ODBC provider, of course, that ships with DB2 since v5? Use
System.Data.Odbc .
-The MS OLEDB provider (aka DB2OLEDB) that ships with HIS 2000. Use
System.Data.OleDb .
-The IBM OLEDB provider (aka IBMDADB2) bundled with DB2 since v6. Use to
DB2 v7.2 FP6 or later (current is FP9), you will get some improvements in
the data client. Use System.Data.OleDb .
All of these ways work, but there are some variations wrt support for blobs,
transactions, cursors, and etc. Also there are some version issues. For
example, the MS OLEDB provider, from HIS 2000, I found, did not work with
DB2 UDB v8.1. However the managed provider from IBM does not work with v7
of DB2 UDB ! I don't have an AS400 so cannot tell you what works with
that.... ?
-Dino


"Valeria" <va***@tiscali.it> wrote in message
news:c8*********************@news1.tin.it...
Hi,
Is possible to connect .net (vb.net or other .net language) to a DBII
database? If yes which is the correct class to call? There is a specific
driver like in rpg.net?
Thank in advance
Valeria Galvano

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Valeria | last post by:
Hi, Is possible to connect .net (vb.net or other .net language) to a DBII database? If yes which is the correct class to call? There is a specific driver like in rpg.net? Thank in advance...
2
by: shartman via AccessMonster.com | last post by:
I've used the SendObject method to send emails in the past. Now I need to send drivers e-mail with trip assignments. Need to loop through a table of records, group the records by driver name and...
13
by: Barry Edmund Wright | last post by:
hi, I started a project with a company who hired two Access developers because of the tight timeline. Problem, I use DAO the other developer uses ADO. I believe we can use both ADO and DAO by...
10
by: ARC | last post by:
Hello all, General question for back-end database that has numerous date fields where the database will be used in regions that put the month first, and regions that do not. Should I save a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.