It was written by a friend of the web forum.
Imgpath= "Default_22.gif"
Set Pp=new Imginfo
W = PP.IMGW (Server.MapPath (Imgpath))
h = pp.imgh (Server.MapPath (Imgpath))
Set pp=nothing
Response.Write " width: &w&"; High: "&h
Class Imginfo
Dim aso
Program | Verification Code Response.Buffer = True
With Response
. Expires =-1
. AddHeader "Pragma", "No-cache"
. AddHeader "Cache-ctrol", "No-cache"
End With
Dim A (10,10)
A (0,1) = "0x3c" ' number 0
A (0,2) = "0x66"
A (0,3) = "0xc3"
A (0,4) =
Functions | example | Conversion ASP Conversion Function Example
Variant variables typically automatically convert the data subtypes that they represent to the appropriate data type, but sometimes an automatic conversion can cause some data type
function for the ASP language, to write a functional module class, that for efficiency, it is not necessarily a very advocated thing, but the modular to small to say, to write some functions as a function, that is, in the development of ASP, a lot
No component Class possible
Dim aso
Private Sub Class_Initialize
Set Aso=createobject ("ADODB.stream")
Aso. Mode=3
Aso. Type=1
Aso. Open
End Sub
Private Sub Class_Terminate
Set aso=nothing
End Sub
Private Function bin2str (Bin)
Dim I, Str
For I=1
The fso|js|xml| server first creates a program on the server side to generate an XML file to return to the client, (getfolder.asp)
' Written by Linzhang Chen, 2003-4-20
' Reprint please indicate the source and retain this copyright
Asp.net| Chinese
Just get started to learn asp.net friends, will encounter a large number of lines with the text of the content display, will not automatically wrap the problem. I now put the solution to this problem really effective way to tell you
Skill
1. Several common functions
Round (pi, 2) roundedFormatNumber (k,4) ' formats K as a number with four-bit decimal points.eg. If K =20000 is shown as 20,000.00 if FormatNumber (k,0) is 20,000Replace (Expression,find,replacewith) ' returns a
function ' Determines whether the filename is legal
Function isfilename (afilename)
Dim serrorstr,inamelength,i
isfilename=true
Serrorstr=array ("/", "\", ":", "*", "?", "" "", " Inamelength=len (afilename)
If inamelength Isfilename=false
uuid= "00000205-0000-0010-8000-00AA006D2EA4"
name= "ADODB Type Library"
-->
' Author: Dragon zyvslxl,zyvslxl@163.com please keep
' property to be specified
Path to ' path file
The ' class header section defines an attribute that can
The core of design rights Management is to assign resources to manage corresponding permissions for users with different permissions.
This example takes a website column backstage Management module (resources) The Authority management as an
Enlarge
Class dealimgsizeDim asoPrivate Sub Class_InitializeSet Aso=createobject ("ADODB.stream")Aso. Mode=3Aso. Type=1Aso. OpenEnd SubPrivate Sub Class_TerminateSet aso=nothingEnd Sub
Private Function bin2str (Bin) Dim I, Str, Clow for I=1 to
Upload table sound Field ID numeric 9 (self-added) WAV image wavinfo varchar wavsize numeric
save.asp ' writes sound files to the database
response.expires=0
server.scripttimeout = 3600
Call Main ()
Sub Main ()
formsize =
oracle| Solution | Problem in my BS structure program, due to the frequent need to handle some large volumes of text data in Oracle, so after repeated testing with ASP successfully solved the large text data under Oracle access problem.
One,
Backup | program
/*ligang1000@hotmail.com*/
feature: Used to back up all Pl/sql objects owned by the current user, including
Type,type body, PROCEDURE, FUNCTION, PACKAGE, PACKAGE body or JAVA SOURCE)
principle: The call to the
asp+| Page | Convert original author: Rain Morning
As for the remaining pages, we dots, using asp+ DataList or Repeater controls. This is necessary because the design requires custom data layouts, rather than a standard table display. One of the
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