· 一個很常見的 ASP 問題 : "如何定時工作排程執行網頁?", 之所以會問這個問題大部分是因為管理員可能會利用一個 ASP 網頁來作資料庫維護的動作, 如備份...等, 在 Windows NT 平台有一個方法可以做工作排程, 那就是 AT 指令 + Schedule 服務, 但很可惜的是你並沒有法度在命令列 (Command-L...
· The need for a security system is obvious if your pages include sensitive information. This sample shows you how to setup some of your pages to ask for login if the user has not logged in yet. 2eNetWorX/dev site uses this kind of protection for interactive pages and file down...
· <%' Company: Sabra Inc' Author: Dave Hoffenberg ' Function: Finds a value within a delimited list' FreewareFunction ListFind(value,list,delim)If list <> "" Then arr = split(list,delim) For i=0 to ubound(arr) If arr(i) = value Then Ma...
· Using Java Classes from ASPCOM components aren't the only way to use compiled code in your ASP applications. If you're familiar with Java, but have no way of wrapping your classes as COM objects (for example, you use JDK or J++ Standard), you can still use java from ASP. And ...
· ASP Transactionsby Chris Payne IntroductionTransactions are important to maintain data integrity, among other things, and have been used with databases for some time now. Luckily, transactions aren't restricted to databases - you can use them in Active Server Pages as well, a...
· Lesson 1 : Overview --------------------------------------------------------------------------------This article serves as a quick "How To" example for using string buffering to concatenate strings in a VB component. The example VB code will generate a HTML TABLE r...
· Lesson 2 : The VB Component --------------------------------------------------------------------------------How2Project4.vbpThe DoBuffer() MethodThe DoBuffer() method will be sent a string buffer (strBuffer), the value of the length of the string data already placed within t...
· Lesson 3 : The ASP File --------------------------------------------------------------------------------How2Project4.ASPThe ASP CodeWe can now use our component from any ASP page. Here we set our connection string, the sql statement, and the number of fields that our sql sta...
· 以前在介绍SQL2k的时候已经提到了SQL2k对XML的支持,使用for XML语句就可以很容易的把执行的结果转化为一个XML,这样可以在很大程度上提高系统运行效率和开发速度,详见What's new in Microsoft SQL Server 2000(四),更详细的内容请参见Books Online。但是在使用ADO(Required ADO 2.6)访问返 ...