rainman
Starting Member
2 Posts |
Posted - 03 July 2001 : 00:56:44
|
hi, i'm a newbie and would be greatfull if someone let me know how to change dsnless conn to dsn. dsn="test". below is the code;
<%
'Database Connection (can be DSN or DSN-less connection)
Session("sesDBConn") = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\wwwroot\admin\mydb.mdb;"
'The name of the table which contains your user's information. 'If you're using the default database file, do not change this variable.
Session("sesUsersTable") = "customer"
'Field to order tables by when displaying contents. (usually ID or Date field) '*NOTE* If some tables lack this field, the script will give you a "page cannot be displayed" error.
Session("sesOrderBy") = "ID"
'Field to start at when displaying fields. (normally field order is: ID=0, xDate=1, etc.)
Session("sesFieldStart") = 0 |
|