Tutorials to .com

Tutorials to .com » Asp » Skills » ASP skills

ASP skills Articles


861: To prevent the user clicks back button
Users on the discussion boards are often asked this question, how to prevent the user clicks back button, why ask such a question? Should normally prevent users from duplication in the implementation of an application, such as the new database, if P...

862: The definition of how to avoid repeat array
When we use dim to avoid re-definition of the array. Redim because you may need to redefine the size of the array. As for the operation to do so, if your machine is not a great memory, it is best to take into account the very beginning, the worst to...

863: How to detect the number of bytes Remarks field
Different languages, as the server operating system, and adopt a different approach: 1.E under text, len (rs ( "field")), on the list. Len ( "Chinese abc") = 7 2.Z text, the complex, len ( "Chinese abc") = 5 lenB ( &...

864: ShowModalDialog specific usage
Application Background: Need to open a sub-form will need to modify data spread to sub-form, and then sub-form in the revised data, the parent form returned. (Parent form can not be set) For example: the father of the form for users to view, sub-f...

865: An efficient classification algorithm
Classification algorithm to solve the problem of building on the site, the classification algorithm is the universal application. In the design of an electronic store, it is necessary to relate to commodity classifications; in the design of distribu...

866: Small number of commonly used functions 2
/ / opt1 negative decimal opt2 / / When the 1:00 check for opt2 whether num is negative / / When the 1:00 check for opt1 whether num is a decimal / / Return 1 is correct, 0 wrong function chknbr (num, opt1, opt2) ( var i = num.length; var sta...

867: Small number of commonly used functions
/ / Function name: chkemail / / Function: Check if Email Address / / Parameter Description: To check the strings / / Return value: 0: No 1: Yes function chkemail (a) (Var i = a.length; var temp = a.indexOf ('@'); var tempd = a.indexOf...

868: A variety of shielding your browser's back button method
I have had a lot of people ask, "How to Iisable? The back button?" Or, "How do I prevent a user from clicking the back button and going back to the previous screen?" In fact, this is one of the most commonly asked questions on th...

869: Key technology chat rooms [User disconnected] to deal with
In the chat room to deal with the user disconnected is a thorn in hand, especially on the free site, if only to rely on global.asa, when the trigger session_onend, application_onend, a number of uncertainties in the design, reasonable arrangements ...

870: Section of the code to return a random record
ACCESS has been a long time useless, but often when someone asked to see how to return random records, so on the paste up, look around. <!--# include virtual = "/ adovbs.inc" -> <% Dim objConn Dim objRst Dim strSQL Dim strCo...

871: Using custom error message err.raise
I think most people in the preparation of ASP procedures, have encountered a similar error message: Error Number -> -2147467259 Error Source -> Microsoft OLE DB Provider for ODBC Drivers Error Desc -> [Microsoft] [ODBC Driver Manager] Da...

872: Vbscript read a cookie in the process function
function cookievalue (pcook) lhowlong = len (pcook) lwhereis = instr (document.cookie, pcook) if lwhereis = 0 then cookievalue = false else lstartpos = len (document.cookie)-lwhereis-lhowlong lstartstring = right (document.cookie, lstartpos) ...

873: Email address using vbscript to determine the legality of
Off here is a regular expression examples <% Function isemail (strng) isemail = false Dim regEx, Match 'Create variables. Set regEx = New RegExp 'Create a regular expression object (stupid, huh?) regEx.Pattern = "^ \ w + ((- \ ...

874: Generate a random password function
<% response.write makePassword (16) function makePassword (byVal maxLen) Dim strNewPass Dim whatsNext, upper, lower, intCounter Randomize For intCounter = 1 To maxLen whatsNext = Int ((1 - 0 + 1) * Rnd + 0) If whatsNext = 0 Then 'cha...

875: Error message on the display
asp error, the error is not very clearly understood that people puzzled by the following methods to help see if there is (currently this method is only suitable ADO error in the Department of the error) Step one, using your editor, open c: \ winnt ...

876: ASP preparation of a complete IP Location Search categories
Amendments to the query methods, query methods and consistent pursuit; only hunt will automatically correct IP. There is a function of the clerical error, it has been amended; Including the validity of an IP address verification function. (Just to...

877: In the conversion between http and https
Doing e-commerce sites often require browser between https and http into the following code gives me: ASP to make a https page to begin, at the top of the ASP page, add the following code: <% Response.Buffer = True If (Request.ServerVariables...

878: Introduced two types of testing procedures
You debug a program, this procedure may sometimes be very long, more than the hundreds of lines of code, if you write the procedures and chaotic state, usually by this time do not know that they, somealso, like me, do not even write notes, but I hav...

879: Source separation approach
index.asp -------------------------------------------------- --------------------- <!--# include file = "templateclass.asp" -> <% 'This is the code used to load and display the template. 'See how clean it is!!!:) sub...

880: On separate pages and code
ASP in order to avoid mixing procedures and write HTML code to maintain the difficulties caused by the situation, this paper, a method of separation procedures and templates to page, so that the design process easier. ASP in the use of time to prod...


Page 44 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]