I. ' Establishment of REGISTER.ASP
Copy Code code as follows:
Registration Page
"
Please fill in your registration information below, red * The options indicated are required
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
Sometimes we use a check box in a Web page, which is a marquee, when the user submits the input, we get the contents of the check box, and then we save it to the database, such as the personal information entered by the user. However, when users may
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
The example in this article describes the ASP.net method of reading XML files and stream streams using the dataset's ReadXml. Share to everyone for your reference, specific as follows:
String strxml = "121122111222 ";
DataSet ds = new
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
Because to write a thing to use, so Baidu a bit, incredibly have a friend to write, and more than, have not seriously tested, only on the character can, but on the number can not, and very poor versatility, need to modify the real use. No way to
For example:
We search for cloud-dwelling communities in Baidu, then the parameters behind the URL is
Http://www.baidu.com/s?cl=3&wd=%BD%C5%B1%BE%D6%AE%BC%D2
If we want to restore%bd%c5%b1%be%d6%ae%bc%d2 to Chinese, we can use the following
The method is as follows:
Response.Cookies (Cookiesname) [(Key) |. Attribute]=value
The explanation is as follows: Cookiesname is the name of the cookie you want, for example: test
Parameter key: Optional parameter, of course, not specified also can
Copy Code code as follows:
Set studentinstance = Createstudent ()
If not IsNull (studentinstance) Then
Response.Write ("StudentID:" &studentinstance.) studentid& "")
Response.Write ("Studentname:" &studentinstance.) studentname& "")
End If
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:
Language.xml
Copy Code code as follows:
Simplified Chinese
SimpilifiedChinese
images
Traditional Chinese
TraditionalChinese
imagesBig5
ddd
Sl.asp
Copy Code code as
code from the Internet, and slightly modified some places, its practical is the cache class.
Save code for, for example, pic.asp
Use: Yun_qi_img/log.gif
Not only is 163, in fact, is a lot of anti-theft pictures can be this realization.
'
1. Please build a database in SQL Server name:house run the following script in house
if exists (select * from sysobjects where id = object_id (n´[dbo].[ City]´) and OBJECTPROPERTY (ID, N´isusertable´) = 1)
drop table [dbo]. [City]
Go
if exists
The example in this article describes the method for assigning values to asp.net simple page controls. Share to everyone for your reference, specific as follows:
///Assignment Table name, control name, unique data to query/// protected void
First, the GetRows use method:
Set conn=server.createobject ("Adodb.connection")
Conn. Open "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & Server.MapPath ("Test.mdb")
Set rs=server.createobject ("Adodb.recordset")
Rs.Open "SELECT top 2 * from
=============================================================
' Thank you for using the utility function program developed by the ASP001 studio
' HTTP://WWW.ASP001.NET
' ============================================================= ' ASP001 studio
Copy Code code as follows:
Function Makegroup (Teams () as String) as String
' function function: Randomly grouping 32 teams in a teams array. (Note: Teams array subscript starting from 0)
' The variable definition of the function.
' It's
Function:
Copy Code code as follows:
function SaveFile (Data,recfilen)
Set Astream=createobject ("ADODB.stream") ' ASP Server.CreateObject (' ADODB.stream ')
Fxt=mid (Recfilen,instrrev (Recfilen, ".") +1)
Txt=false
If fxt= "ASP" or "
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.