搜索列表
-
用ASP打开远端MDB文件的方法
【ASP编程】如果你用ODBC connection (DSN or DSN-less)来访问远端的(UNC path)数据库, OLEDB会出现以下错误信息: Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC&nbs...
用ASP打开远端MDB文件的方法 -
javascript asp教程第二课--转义字符
【ASP编程】并非是题外话:我们在第二课中要讲到的“转义字符”看起来与我们的课程并没有关系。事实并非如此。转义字符是在asp中使用javascript的一个完整部分。而第二课要讲的恰恰就是转义字符。没有转义字符,那么你为了写出有效率的asp脚本将会遇到许多的困难。抱歉,下面进入正题:以下是第二课的asp脚本。还记不记得在第一课的列子中,...
javascriptasp教程第二课--转义字符 -
javascript asp教程 日期相关
【ASP编程】JavaScript is loosely typed. Database files are not. If you put text into a Boolean database column or a Boolean value into a date/time column, then you will get an error. For the most part this is not a problem, except for date/time. It does not correspond to the JavaScript Date Object...
javascriptasp教程日期相关 -
javascript asp教程添加和修改
【ASP编程】The Connection Execute(): If you want to retrieve data from a database then you have no choice but to use a Recordset. However, for the purposes of adding, updating, and deleting data you don't necessarily have to have a Recordset. It's up to you. For the purposes of adding, updating and delet...
javascriptasp教程添加和修改 -
javascript asp教程More About Recordsets
【ASP编程】Below we will attempt to access data from a database without knowing the column names. Clearly the best way to utilize data in your database is to keep track of your schema. Schema is the layout of data in your database. The concept is well beyond the scope of this web site, but it is ...
javascriptasp教程MoreAboutRecordsets -
javascript asp教程Recordset记录
【ASP编程】Recordset is another created/instanciated Object. It is a collection of data taken from a database. Recordset has 26 properties, 25 methods, 11 events, and two (2) collections. The vast majority of Recordset is beyond the scope of this web site. Quick Aside: The database we are using for l...
javascriptasp教程Recordset记录 -
javascript asp教程创建数据库连接
【ASP编程】While this section is devoted to ASP database utilization, it very important to remember that this web site is not intended to be a thorough ASP resource. Remember, the focus of this site is strictly limited to how to use JavaScript as your primary scripting language for ASP. You'...
javascriptasp教程创建数据库连接 -
javascript asp教程第十一课--Application 对象
【ASP编程】Overview: The Application Object represents a collection of ASP pages. The Application object has zero (0) properties, two (2) collections, two (2) methods, and two (2) events. Get Started: Below are a couple scripts for lesson11. <%@LANGUAGE="JavaScript"%> <%...
javascriptasp教程第十一课--Application对象 -
VBA 中要用到的常数第1/2页
【其它脚本】Calendar 常数 可在代码中的任何地方用下列常数代替实际值: 常数 值 描述 vbCalGreg 0 指出使用的是阳历。 vbCalHijri 1 指出使用的是伊斯兰历法。 Color 常数 可在代码中的任何地方用下列常数代替实际值: 常数 值 描述 vbBlack 0x0 黑色 vbRed 0xFF 红色 vbGreen 0xFF00 绿色 vbYellow 0xFFFF 黄色 vbBl...
VBA中要用到的常数 -
很有用的学习ASP常用到的代码第1/2页
【ASP编程】1、数据库连接。 ASP与Access数据库连接: <%@ language=VBscript%> <% dim conn,mdbfile mdbfile=server.mappath("数据库名称.mdb") set conn=server.createobject("adodb.connection") conn.open "driver={microsoft a...
很有用的学习ASP常用到的代码 -
使用科汛系统的安全小常识
【整站程序】这里我给大家总结几条使用科汛系统安全的小经验: 1、删除install.asp文件 网站安装成功后,一定要删除install.asp文件(非常重要)。 2、及时修改数据库名称 由于科汛自带的数据库是在ks_data目录下的ks_database.mdb,如果你没有对它进行更名,...
使用科汛系统的安全小常识 -
ASP数据库连接方式大全
【ASP编程】<% '#######以下是一个类文件,下面的注解是调用类的方法################################################ '# 注意:如果系统不支持建立Scripting.FileSystemObject对象,那么数据库压缩功能将无法使用 '# Access 数据库类 '# CreateDbFile 建立一个...
ASP数据库连接方式大全