CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: DB2 database

  1. #1
    Join Date
    Oct 1999
    Location
    Slovenia
    Posts
    50

    DB2 database

    Hi all!

    I want to connect IBM DB2 database with System.Data.OleDb.OleDbConnection(). I use connection string "Provider=DB2OLEDB;Database=DBName; User ID=user; Password=pwd" and I get an error "The 'DB2OLEDB' provider is not registered on the local machine.". OK I get it: but how/where can I get this provider OR is another way to connet DB2 in .NET.

    Tnx for helping me!

  2. #2
    Join Date
    Jun 2002
    Location
    Philadelphia, PA
    Posts
    85
    If you have an ODBC driver for it, Microsoft has released ODBC.net. I've worked with it a bit and I'm not overly thrilled with it, but it may be worth a shot.

    http://msdn.microsoft.com/downloads/...mpositedoc.xml

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured