473,387 Members | 1,493 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,387 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 1524
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.