· <%
' upload.ASP
Function IntMin(n,y)
If n<y and n>0 Then
IntMin=Int(n)
ElseIf y>0 Then
IntMin=Int(y)
Else
IntMin=n
End If
End FunctionFunction getFormValue(Name)
Dim formSize,formData,DataHeader,DataStart,DataEnd,form...
· Syntax
object.Raise(number, source, description, helpfile, helpcontext)
The Raise method has these parts:Part Description object: Always the Err object. number: A Long integer subtype that identifies the nature of the error. VBScript errors (both VBScript-defined and user-def...
· Okay, I'll admit it, if there's one area where my ASP scripts are lacking: it's in the area of error checking. I've looked at the Err object included with VBScript but have been really frustrated with it's seemingly lack of information. (For more information on the Err object...
· You just finished your ASP application in time, barely making the dealine! As you upload the final version to the webserver, you receive an email from your supervisor indicating that he's ready for your demo. You confidently stride into his office and give him instructions on...
· 在第三方页面传递参数这个思路倒是的确可以省下一些代码,至少我以前是从没这样子传过。
<%
'Pass form objects submitted by a form G
' ET
If Request.QueryString.Count>0 Then
QStr="?"
For Each x In Request.QueryString
QStr = QStr & x &...
· DeleteFolder Method<br>
Deletes a specified folder and its contents.<br>
<br>
object.DeleteFolder folderspec[, force] <br>
<br>
Arguments <br>
object<br>
<br>
Required. Always the name of a FileSystemObject.<br>
<br>...
· 可能要Jscript Version 5以上<SCRIPT RUNAT=SERVER Language=javascript>
var oConn;
var Rs;
var empID=3;
var err_flag; //错误旗标
try {
oConn = Server.CreateObject("ADODB.Connection&qu...