Copy Code code as follows:
' Text watermark
Function Wordwatermark (ImagePath)
Dim Image
Set image= Server.CreateObject ("Persits.jpeg") ' establishes an object
Image.open Server.MapPath (ImagePath) ' Image location
To set up the application pool (application pool) as classic. NET AppPool instead of the default defaults AppPool, you can set each site in the site directory, or you can set it separately on the site. After selecting the site you want to set up,
First in the open IIS, and then in the Default Web site properties –http Header –mmie Mapping – File type – Add the type of registration file:
Copy Code code as follows:
Associated Extension MIME Type
WML TEXT/VND.WAP.WML
WMLC
1. Installation. NETFramework (Specific version can be selected, recommended to install NETFRAMEWORK3.5SP1)
2. Install mod_aspdotnet.so, this support apache2.2 is not easy to find, attached Http://xiazai.jb51.net/200912/tools/mod_aspdotnet-2.2.0.200
Upload a picture based on the asp.net +easyui frame, upload the picture, submit the form:
Link name: Link Logo: select pictures: --%> Upload Cancellation
The general handler for submitting the form:
Ajax has been very popular for a while, now talk about Ajax feel a bit old-fashioned,-_____-'. At present, the so-called Web2.0 Web site, basically do not use Ajax, like the use of RSS, like a label, pasted up on the 2.0. Ajax specific details not
First method: This is the code that deletes the picture of the word segment. Simple, because the picture field already exists in the Bookpic field of the database table.
Copy Code code as follows:
Fileid=trim (Request ("Fileid")) '
Copy Code code as follows:
Dim fso,objfolder,objfiles
Dim filelist
Set fso=server.createobject ("Scripting. FileSystemObject ")
Set Objfolder=fso. GetFolder (server. MAPPATH ("thumbs"))
Set Objfiles=objfolder.files
' The filename of the
Copy Code code as follows:
function Astro (birth)
Astro= ""
If birth= "" or not IsDate (birth) Then Exit function
Birthmonth=month (birth): If BirthmonthBirthday=day (birth): If BirthdayBirth=trim (Birthmonth & Birthday) ' Reforming month,
Copy Code code as follows:
'/* Function name: zxj_replacehtml clearhtml
'/* Function language: VBScript Language
'/* Function: Clear file HTML Format function
'/* Pass parameters: Content (note: What needs to be cleared)
'/* Function Author:
Copy Code code as follows:
Response.Buffer = True
' Generally, when a user requests a Web server, the server replies the request to the client. On the client side, the browser takes caching as a speed-checking strategy, which is to check the
function GetCache, the desired cache is automatically created.
Copy Code code as follows:
Function GetCache (Funsname,isreset,isarr,timeinfo)
' funsname-need to cache the content, here to enter a function name
' isreset– Update [value:
Language.xml
Copy Code code as follows:
Simplified Chinese
SimpilifiedChinese
images
Traditional Chinese
TraditionalChinese
imagesBig5
ddd
Sl.asp
Copy Code code as
' Processing receive paging parameters, display page number is also default first
' Page This parameter is to let the variable Pagenum to show the first also get value: 0
If Request ("page") = "" Then
Pagenum=0
' Here is the page connection
Secondary codeClick to return to the previous page code:
Copy Code code as follows:
Pop-up warning Box code:
[Ctrl + A All SELECT Note: If the need to introduce external JS
Copy Code code as follows:
Matching regular expressions for Chinese characters: [\U4E00-\U9FA5]
Commentary: Matching Chinese is really a headache, with this expression will be easy to do
Copy Code code as follows:
The previous two articles have learned, service-side verification, and client verification, but you have not found that both of these two kinds of authentication have drawbacks, server-side validation, validation logic and the logic of the code
This example describes the GridView edit, update, and aggregate usage in asp.net. Share to everyone for your reference, specific as follows:
Foreground code:
&l T;asp:boundfield datafield= "Gshkrno" headertext= "project number" readonly=
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