Tutorials to .com

Tutorials to .com » Asp » Skills » ASP skills

ASP skills Articles


641: ABC Programming ASP, one of the main points
ABC Programming ASP points Use Server.MapPath As far as possible, use Server.MapPath () to indicate the storage of files on the server, instead of absolute path static. Because, if we adopt the static absolute path, when the web path changes, file...

642: Restrictions on the news shows that the number of words
Restrictions on the font used in the number of inside things: Dim rsTitle, tmpLeft rsTitle = Rs ( "Title") If Len (rsTitle)> intTitLen Then rsLeft = rsTitle Do While Len (rsLeft)> intTitLen 'Or Len (Right (rsTitle, intTitLen...

643: Asp several more useful function to check
It is a bit simple, I do not say anything. One look to understand! Function ChkStr (InString) If InString <> "" Then InString = Replace (LCase (InString), "","") InString = Replace (LCase (InString ),";&q...

644: Color conversion
Last time I replied to the look of the sky coconut DotNet Lin ----- ASP. NET component programming step by step ------------------- # Re: a bit small BUG / / The following will be the color values into hexadecimal string R, G, B; R = (Convert.To...

645: To generate a random string of specified length
'Detection of the length of the string generated Response.Write (Len (iXuEr_Rnd_Str (100,1,1,1,1,1)) & "<br>") 'Output to HTML code into your browser to avoid when containing some special characters not displayed Respo...

646: A powerful general-purpose page display function
<% Option Explicit Response.Buffer = True On Error Resume Next Dim StarTime, EndTime, Sql_Use, Conn, Db, ConnStr Rem ################################################# ######################### Rem # # Note: in this case the database is used...

647: ASP Function Set
Made with port'======== URL, recommended ================ Function Get_ScriptNameUrl () If request.servervariables ( "SERVER_PORT") = "80" Then Get_ScriptNameUrl = "http://" & request.servervariables ( "...

648: Classic ASP page category
'================================================= ==================== 'XDOWNPAGE ASP version 'Version 1.00 'Code by zykj2000 'Email: zykj_2000@163.net 'BBS: http://bbs.513soft.net 'This procedure can be free to us...

649: ASP frequently asked questions and answers (2)
1. Oncontextmenu = "window.event.returnvalue = false" will completely shield the right mouse button <table border oncontextmenu=return(false)> <td> no </ table> can be used for Table 2. <body Onselectstart="retu...

650: ASP frequently asked questions and answers (3)
1. Image Display Control: <script language="JavaScript"> <! -- var flag = false; function DrawImage (ImgD) ( var image = new Image (); image.src = ImgD.src; if (image.width> 0 & & image.height> 0) ( flag = tr...

651: Frequently Asked Questions and Answers ASP (4)
1. Check the current address of the web page the full name, in order to return with <% Function GetUrl () On Error Resume Next Dim strTemp If LCase (Request.ServerVariables ( "HTTPS")) = "off" Then strTemp = "http:/...

652: ASP frequently asked questions and answers (5)
1. 'Function: to worry too much about HTML characters 'Input: String 'Output: a string formatted as function HTMLEncode (fString) if not isnull (fString) then fString = replace (fString, ">", ">") fString ...

653: ASP frequently asked questions and answers (6)
1. To prevent the user direct access to the page (to prevent form submission made directly through the link) function checkPrePage () url = request.ServerVariables ( "HTTP_REFERER") url = trim (replace (url, "http:// ","&...

654: ASP frequently asked questions and answers (7)
1. Category: Grammar application Problem Description: Find the two strings of characters between the frequency Solutions: function FindStringTimes (strContent, start_string, end_string) 'start_string with end_string a meeting between the numb...

655: ASP frequently asked questions and answers (8)
1. Form Sort Form in terms of sort of form, and has nothing to do with the generation of form. In other words, the way no matter what sort of forms are the same. This is the sort function is very simple. At ascending and descending order, requeste...

656: ASP frequently asked questions and answers (9)
1, open〗 〖order to achieve [Format]: document.execCommand ( "open") [Note] This is the design of VB programming, such as the webbrowser control is similar to some of the orders, we can still improve and so refined. [For example] in ...

657: ASP frequently asked questions and answers (10)
1. <table> Discount on line: <table style="TABLE-LAYOUT: fixed" width="200" border="0" cellspacing="0" cellpadding="7" bgcolor="#f7f7f7"> <tr> <td style="LEFT: ...

658: ASP frequently asked questions and answers (11)
Commonly used javascript function //========================================= / / Input data test / / Test null value function funCheckEmpty (m_Text) ( var strTmp = m_Text if (strTmp == null | | strTmp == "") ( return false ) retu...

659: Edit documents online and save it to the background database
Edit documents online and save it to the background database -------------------------------------------------- ------------------------------ http://www.standsoft.com (2004.1.14) Source: Moses Island Software [IMG] Http: / / www.hytian.com / ocx...

660: On the idea of ASP programming and error correction
Programming with ASP technology for the beginners, no way to start is the first feeling I had such experience. After a series of "suffering", you will find inspiration. The programming I gained some experience, to be the cost of the text, ...


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