|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Please help me - ASP newbie trying hard! |
From: |
Pankaj |
Date: |
2/12/2001 11:32:07 PM |
IP: |
203.200.7.16 |
Dear,
the message is related with the database connetivity... So open the control panel, choose the ODBC option and insert a new connetion to a perticular database u want to use...
The format for ASP is
set Conn=server.CreatObject("ADODB.Connection")
// This will creat an object Conn of type ADO DB connetion.
Conn.open "DSN='DSN_Name'";"username";"passward"
// Conn.open tries to connect the Object to perticular database so it requires the ODBC connetivity information as well as login info.
here DSNname is the name which u had used during setting the ODBC connetivity; the username and Passward are the Login information.. If u r not using any passward then use ""
Try it..
Use the trail and error method to do things...
it is the way to learn...
BYE..
-Pankaj |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|