📄 config.asp
字号:
<%
'**************************************************************************************************************
'* Michal Gabrukiewicz Copyright (C) 2007
'* For license refer to the license.txt
'**************************************************************************************************************
'All configurations are listed here. uncomment the line if you want to use a configuration variable
'In 90% cases you don't need to change anything.
'(most of those settings are properties of classes and are initialized when the class is instantiated,
'therefore this means that you can change it after initialization also.)
'**************************************************************************************************************
'*** The vitual location to the ajaxed folder. must end AND start with an SLASH! (/)
'const AJAXED_LOCATION = "/ajaxed/"
'*** The text which appears when a callback is being performed and the user has to wait
'const AJAXED_LOADINGTEXT = "loading..."
'*** should the prototype JavaScript library be automatically loaded on every page?
'const AJAXED_LOADPROTOTYPEJS = true
'*** the caption for the errors used with error() method
'const AJAXED_ERRORCAPTION = "Erroro: "
'*** sets the response.buffer for each page.
'const AJAXED_BUFFERING = true
'*** ID of the form which should be used by default when no form is specified
'const AJAXED_FORMID = "frm"
'*** If you want to use a database with the ajaxed Library then configure a proper connectionstring
'*** to your database. Some are suggested below. uncomment if applicable
'mySQL
'const AJAXED_CONNSTRING = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=YOUR_DB;User=YOUR_USER;Password=YOUR_PASSWORD;Option=3;"
'MSSQL
'const AJAXED_CONNSTRING = "Driver={SQL Server};Server=localhost;Database=YOUR_DB;Uid=YOUR_USER;Pwd=YOUR_PASSWORD;"
'MS ACCESS
'const AJAXED_CONNSTRING = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;"
'PostgreSQL
'const AJAXED_CONNSTRING = "Driver={PostgreSQL};Server=localhost;Port=5432;Database=YOUR_DB;Uid=YOUR_USER;Pwd=YOUR_PASSWORD;"
'Oracle
'const AJAXED_CONNSTRING = "Driver={Microsoft ODBC for Oracle};Server=localhost;Uid=YOUR_USER;Pwd=YOUR_PASSWORD;"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -