ASP access to InterBase database

Source: Internet
Author: User
Tags interbase odbc

The information of using ASP to visit InterBase database is very few, after a few days of struggle finally successfully solved this problem. Now we have some code and some information to contribute to you.

<%@ language= "VBScript"%>

str1 = "Driver={xtg Systems Interbase6 ODBC driver};uid=sysdba;pwd=masterkey;data source=ly"
Set conn = Server.CreateObject ("ADODB. Connection ")
Conn.Open str1
Set rs = Server.CreateObject ("ADODB.") Recordset ")
Sqll= "SELECT * from Gunit"
Rs.Open sqll,conn,1,3
Rs.addnew
RS ("id") =18
RS ("name") = "InterBase"
Rs.update

Rs.close
Set rs=nothing
Conn.close
Set conn=nothing

In the string of connected databases in the example above, I am using the InterBase ODBC driver developed by XTG Company. Most of the information on the web, including Borland itself, is driven by Easysoft ( Now Easysoft Company has launched to support the IB7 drive. But I did not succeed in adopting Easysoft.

The following is the address of the Borland solution for accessing the IB database using asp:

Http://community.borland.com/article/0,1410,27152,00.html



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.