I found in the experiment that a timer could be used to perform some timed actions in asp.net. This may be useful for some of our WEB programs.
Note: In the original text only vb.net code, in order to facilitate everyone, I wrote the C # version of
Four Example describes how to use the CheckBoxList component:
(1). How to determine which check boxes are selected in the component:
In a program, it is done by handling the selected property and the Count property, as follows:
for (int i = 0; I
Using asp.net (VB) to create a Web site, we call the way is very simple:
Dim test as New Class1 ()
Test. Createwebsit (Webname,port, "d:vb", "localhost")
Here is the code for CLASS1, which does the job of setting up a site and automatically
Welcome to the future Jumpline customers!Congratulations on your FREE basic Quarterly10 GB of disk space (accommodates 16-domain)• 100 Email accountsPlesk Control Panel System 8.3• Frequently Asked questions • In 30 integrated applications• 3 layers
┝ user type: Free space┝ Space Capacity: 10M┝ provide domain name: http://www.gogho.cn/user Name┝FTP Permissions: X┝asp Permission: √┝ File Size: 1024 K
Details: This space is suitable for personal building station use, support script htm, HTML,
MB of disk spaceFor a limited time, there is no advertisingFTP Access AccountStandard ASP ScriptsUnlimited bandwidthTechnical Support via emailMicrosoft Access databaseWeb-based File ManagerNo file type Limit *No File size limit *No monthly feeNo
OK, let's look at the ASP AdRotator component Instance Tutorial.
The ASP AdRotator component creates a AdRotator object that displays a different picture each time the user enters or collates the page. A text file contains related pictures.
IIS defaults to processing VBSCRIPT, however we can see many examples of explicitly setting script language types through statements. The following test analyzes the performance impact of this statement.
Dim FirstName
...
/app2/language1.asp
1. oncontextmenu= "Window.event.returnvalue=false" will completely screen the right mouse button
no available for table
2. deselect, prevent copying
3. onpaste= "return false" is not allowed to paste
4. oncopy= ' return false; ' oncut= ' return
Use a "Static" ASP page to improve the performance of your server
Usually, when you display the information in a database, you use a dynamic page to generate it.
This has no effect on the performance of a small web site or when the size of the
’*************************************************************
' Please keep this declaration information when forwarding, this statement does not affect your speed!
’*************************************************************
’********************
This article introduces a new method of using ASP technology to realize database query in Flash, which not only hides the client completely. asp program, and Flash's ease of use, graphics make your Web page unique.
Basic principle
1.Flash method of
"Http://www.w3.org/TR/html4/loose.dtd" >
untitled document
Send Message
'//send.asp
function Chan_time (Shijian) ' Convert date-time function
S_year=year (Shijian)
If Len (s_year) =2 then s_year= "&s_year"
S_month=month
Database access
Accessing the database will slow down the program quickly, but there are no databases and many sites are not. Do not use the embedded SQL statements to access the database, you can use stored procedures to access the database,
A few days ago to help friends faintbear modify an "ASP no component Upload" code, got a few ideas, written here, perhaps a little useful.
I have not developed an ASP program, just temporary quote Buddha foot, modified the control statement, so,
Public Function datetostr (datetime,showtype)Dim Datemonth,dateday,datehour,dateminute,dateweek,datesecondDim Fullweekday,shortweekday,fullmonth,shortmonth,timezone1,timezone2timezone1= "+0800"Timezone2= "+08:00"Fullweekday=array ("Sunday", "Monday",
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