Web Application Development - Database Connection
Create a connection file for ASP to link to Access database, dbcon.asp
i. Type in the following codes in a notepad
ii. save the file as dbcon.asp into your working folder.
This connection is required. This is to establish a connection to the database. So when ever you need to access to the database, you will need to call for this connection. This is a simpler way to connect to the database, there is no need to setup the ODBC connections.
i. Type in the following codes in a notepad
ii. save the file as dbcon.asp into your working folder.
This connection is required. This is to establish a connection to the database. So when ever you need to access to the database, you will need to call for this connection. This is a simpler way to connect to the database, there is no need to setup the ODBC connections.
0 Comments:
Post a Comment
<< Home