How to connect DB2 database from ASP page

Discussion in 'C#' started by Karthik chennappan, Oct 20, 2010.

  1. #1
    Need help on how to connect DB2 database from ASP page.
    Please share some code.

    Thanks,
    Karthik C.
     
    Karthik chennappan, Oct 20, 2010 IP
  2. cDc

    cDc Peon

    Messages:
    127
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could install the Microsoft ODBC-DB2 connector and then use ODBC as normal from your asp scripts...
     
    cDc, Oct 20, 2010 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    AstarothSolutions, Oct 20, 2010 IP
  4. Karthik chennappan

    Karthik chennappan Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    I tried connecting DB2 via odbc driver from c# .net and vb.Net. It is working fine and able to fetch data. But with the same driver I need help to connect DB2 from classic ASP.
     
    Karthik chennappan, Oct 21, 2010 IP
  5. Karthik chennappan

    Karthik chennappan Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I need to connect DB2 from Classic ASP via ODBC. DB2 is on windows.
     
    Karthik chennappan, Oct 21, 2010 IP