Asp. NET tips: Create personalized Calendar for Blog _ Practical Skills

Calendar controls are one of the. NET controls that are powerful and useful in many project development, and are essential for blogging systems. The good jade also needs to carve, in order to make it more beautiful and practical, we also need to

More comprehensive ASP anti-CC attack code sharing _ Application Tips

Copy Code code as follows: Dim Cc_info (4), strinfo,strtemp If session ("cc_info") = "" Then Cc_info (0) = "cclog.txt" ' Log file name Cc_info (1) = Request.ServerVariables ("Http_x_forwarded_for") Cc_info (2) = Request.ServerVariables

Use innerHTML attention to handle spaces and carriage returns (ASP background Processing) _ Application Tips

The code is as follows: Copy Code code as follows: Function Replaceex (STRORI,REPLSTR) Set regex=new REGEXP Regex.global=true Regex.multiline=true regex.pattern= "\ r \ n" Regex.ignorecase=true Replaceex=regex.replace (STRORI,REPLSTR)

ASP run Error: Missing object: ' Xmldoc.documentelement ' ERROR resolution _ Application Tips

Originally running the normal ASP page, today suddenly prompted: Copy Code code as follows: Microsoft VBScript run-time error ' 800a01a8 ' Missing object: ' Xmldoc.documentelement ' /work/menu.asp, Line 80 Find the

Asp. NET and MSSQL high performance paging instance code _mssql

First is the stored procedure, which only extracts the data I need, and automatically returns the last page if the page exceeds the total number of data: Set ANSI_NULLS on SET QUOTED_IDENTIFIER in Go--==========================================

ASP Google PR Query code _ Application Tips

Copy Code code as follows: google PR Value Query ASP program function Hexdec (str) { return parseint (str,16); } function Zerofill (a,b) { var z = hexdec (80000000); if (Z & A) { A = a>>1; a &= ~z; a |= 0x40000000; A = a>> (b-1);

ASP Download Anti-Theft chain code _ Application Tips

ASP Download anti-theft chain code First Type: Finally to download the system to do a security chain measures, in the download of the page head did the following code, the relevant code is as follows: Copy Code code as follows:

asp.net user Control tips-practical tips

User control is often used in asp.net development, if many pages use the same user control, then each page should be introduces user control before it can be used. This is so much trouble, so let's teach you a simple way today. First open

ASP file and folder common processing functions (file suffix, create files, etc.) _ Application techniques

Copy Code code as follows: '===================================== ' Get file suffix '===================================== Function get_filetxt (ByVal t0) Dim T1 IF Len (t0) T1=split (T0, ".") Get_filetxt=lcase (T1 (Ubound (t1)) End

Collection of string-safe processing functions used in ASP (filtering special characters, etc.) _ Application techniques

Copy Code code as follows: '===================================== ' Convert content to prevent accidental '===================================== Function Content_encode (ByVal t0) IF IsNull (t0) Or Len (t0) =0 Then Content_encode= "" Else

CDN Accelerated ASP Web site to obtain user real IP program _ Application Skills

Copy Code code as follows: function Checkip (checkstring) ' uses regular to determine whether IP is legal Dim Re1 Set Re1=new REGEXP Re1.pattern= "^[0-9]{1,3}. [0-9] {1,3}. [0-9] {1,3}. [0-9] {1,3}$ " Re1.global=false Re1.

ASP operation cookies (including set [assignment], read, delete [set expiration]) _ Application Tips

Example: Copy Code code as follows: Response.Cookies ("Letwego") ("visiter") = "84WW" ' Assignment Response.Cookies ("Letwego"). Expires= (now () 7) ' Set Expiration Time (7 days) Username=request.cookies ("Letwego") ("Visiter") '

asp.net (C #) Web API to download instances of files by file _ practical Tips

Downloading files to the local area is a very simple feature that needs to be implemented in many project development. Say simple, is from the concrete code realization comes up to say,. NET file Download Way There are many kinds, this example is to

Asp. WebService security mechanism based on soaphead in net-practical skills

Using the Soaphead method, you can add header information to the WebService request, and when someone calls our WebService, you can check the header information of the request and verify that it prevents the program from being invoked outside of the

ASP Delete SQL statements for empty records in Access numeral library _ Application Tips

Indicates that no data exists with a 0-length character To indicate that no data exists in a Microsoft Access database, you can enter a 0-length string (0-length string: A string that contains no characters) in the text or Memo field. You can use a 0

ASP GetRef Function Pointer Test _ application techniques

GetRef function Returns a reference to a procedure that can bind an event. Set object.eventname = GetRef (procname) Parameters Object Required option. The name of the object to which the event is associated. EventName Required option. The name of

80040E14 Error Solution for ASP code _ Application Tips

For a long time did not write ASP code, today in a simple message this, there was a mistake: Microsoft Office Access Database Engine error ' 80040e14 ' Syntax error in Insert into statement. On the Internet to check the information, only to know

Available ASP no repetitive digital random function, array implementation, and applied to random display Recordset _ Application Techniques

Cloud-dwelling Community webmaster Test available ASP No repetitive digital random function, array implementation, and applied to random display recordset Role: This function is suitable for randomly displaying a small number of random repeat

ASP in the creation of multilevel directory of the two-piece code _ Application Tips

Copy Code code as follows: '============================== ' Create a multilevel directory, you can create a non-existent root directory ' Parameter: The name of the directory to create, which can be multilevel ' Create the root directory of

asp.net picture file Upload and Delete method _ practical skills

This article illustrates the method of uploading and deleting asp.net picture files. Share to everyone for your reference, specific as follows: Upload picture public void Updataimage () { //Get the selected file string fileName =

Total Pages: 1800 1 .... 560 561 562 563 564 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.