Tutorials to .com

Tutorials to .com » Asp » Skills » ASP skills

ASP skills Articles


881: Determine whether a number is odd or even
function Is_odd (num) as boolean n = num mod 2 if n = 1 then Is_odd = true else Is_odd = false end if end function Is odd to return to the true, false return is even. ...

882: Check on the password
Check the password in dealing with this issue, we generally require the user to enter data detection in order to rule out the possibility of similar single-quotation marks, or other special characters and words, then use regular expressions is a ver...

883: Control pop-up windows components --- skills with examples of file access
I learned how to control pop-up window with the background file access --- components used to modify the file example, we often need to do on the home page of a pop-up window (in fact, I very much dislike the East), the general approach was to <b...

884: Gif image size to determine the method
Here is my wish under the gif image format from gif image size to determine the method, let us to the point up.htm <html> <body> <form action="up.asp" ENCTYPE="multipart/form-data" method="post"> ...

885: How to obtain all of the Session variable
In program debugging, sometimes need to know the number of Session variables in use, how their value? As a result of a Session object Contents collection called (Collection), we can through the For ... Each loop to achieve the objectives: Dim strNa...

886: Do not have regular expressions to achieve the replacement of non-sensitive
Function ReplaceNoIgnoreCase (str, replStr) If len (replStr) <1 or str = "" Then ReplaceTest = str Exit function End If Dim LoopN LoopN = 1 Dim TmpStr, inStrN, LenreplStr, Ustr, UreplStr LenreplStr = Len (replStr) TmpStr = str ...

887: Directory traversal and file directory function
<% @ Language = VBScript%> <% 'I wrote a directory traversal and file directory of the function, %> <% function bianli (path) set fso = server.CreateObject ( "scripting.filesystemobject") on error resume next set...

888: Of a series of English Word Wrap solution IE5.5
1. Display and code [Code] <table style="TABLE-LAYOUT: fixed" width="100%" border="0" cellspacing="0" cellpadding="7" bgcolor="#f7f7f7"> <tr> <td style="LEFT: 0px; W...

889: Include discussion of dynamic documents
We talked about a case: <% 'Get the user's provinces Dim Province Province = Request.form ( "Province") 'The following shows the information related to this province %> <!--# include virtual = "/ Province /...

890: How to make the replace method is not case-sensitive
The text is replaced by the actual model of the RegExp object's Pattern property. Replace method returns a copy of string1, RegExp.Pattern text which has been replaced with string2. If you do not find the matching text will return the original ...

891: How to deal with Null database
For beginners, in dealing with the database of the Null data type is a bit cumbersome, and in this article we will talk about the Null, you will learn how to know a value is Null, which can function with or without Null can be dealt with First, we ...

892: A comprehensive study "to disable the browser back button"
Your browser's back button to allow us to easily return to previously visited pages, it is undoubtedly very useful. But sometimes we have to turn off this feature to prevent users from disrupting the order is scheduled to visit the page. In this...


Page 45 of 45
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]   [18]   [19]   [20]   [21]   [22]   [23]   [24]   [25]   [26]   [27]   [28]   [29]   [30]   [31]   [32]   [33]   [34]   [35]   [36]   [37]   [38]   [39]   [40]   [41]   [42]   [43]   [44]   [45]