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
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)
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
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--==========================================
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
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:
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
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
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
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.
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
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
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
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
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
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
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
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 =
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