1, if you need to write and update the database operation, and sometimes set the database Write permission!
2, when updating the database operation, it is best to lock the database, so that there are other people at the same time, there is a
Using the chart control in Office2000 in ASP
--Microsoft Office Chart 9.0 make a chart
A while ago in order to make a chart, see all the articles in the forum, but mostly with aspchart,shortgraph and other components, these components are mostly
This article mainly describes how to debug ASP server-side component technology, including this complex error message:
One, ASP 0115 Error.
Second, the code in a separate EXE file to run well, but once put into the ASP to generate the call failure
Should buffers be turned on?
To start the buffer with a script program
When you include Response.buffer=true at the top of the ASP script, IIS caches the contents of the page.
Response.Buffer = True
Dim FirstName
...
Fragments
When one day you in your guest book message record to see a very wonderful message, in order to introduce to your netizens, you will consider these messages with a separate page display, so that more Internet users more easily see it? If this is
ASP tutorial. NET Cookies record the number of user logons and prevent the same account from repeatedly logging on
Place on the successful landing:
string key = TextBox1.Text///Username text box set to cache keyword
String uer =
ASP tutorials. NET C # int type conversions
int i =-1; BOOL B = Int.tryparse (null, out i);
After execution, b equals false,i equals 0, not equal to 1, remember.
int i =-1; BOOL B = Int.tryparse ("123", out I);
After execution, b equals true,i
ASP tutorials. NET C # array traversal, sorting, delete elements, inserts, random elementsArray traversal
short[] sts={0,1,100,200};
for (int i=0;i{
if (STS[I]>50)
{
.....
}
}
Array random elements
Public hashtable noorder
In the Web page special effects code
The position of the HTML display content (that is, the content between the start and end tags, such as here (HTML tags) or Here (server-side control), which displays the variable as a placeholder in the
Using ASP to write a simple daily flow, maximum daily traffic statistics
-----------------------------------------------------------------------------
' #########-statistics today, maximum daily flow-##########
Sub My_today_counter ()
Day1 = CStr
The code is as follows
Copy Code
function ShowPage (sto,allpage,page) ' Displays the number of pages based on total pages and current pagesDim first,lastPage=max (min (page,allpage), 1) if (allpage>1) thenif (allpage>10)
Keywords:Asp batch Upload Asp image batch Upload Upload files in batchesAsp file UploadAsp file upload codeBatch upload of php documents,Now, let's look at the code and method for uploading files in batches. First, we use three
Server. ScriptTimeout = & he10' & H3CResponse. Buffer = ("S. F." = "S. F .")Dim IpSearch'Create an objectSet IpSearch = New clsIpSearch'Use the default connection to establish a connection to the SQL Server IP Address Library, but ensure that wry.
Many problems are caused by Chinese characters.For example, it is best not to use Chinese characters for file names.The solution is to generate an ID, which is used as the file name.If the url contains Chinese characters on the webpage, errors often
There are too many files on the machine. You need to sort them out. What should you do ?????This article takes Image file sorting as an example to give you some ideas.Code running environment: iis5.0 + SQL server2000Database script:If exists (select
My global. asa file is as follows:The total number of visitors in this example will be stored in the visitcount.txt file. I think the Application ("NowPeopleNumber") should have savedThe number of online users can be displayed on the home page, but
Asp mathematical functionsCommon mathematical functions:Function syntaxAbs (num) returns the absolute value of a number.Sqr Squ (num) returns the square root of a number.Sin (num) returns the sine of the angleCos (num) returns the cosine of the
In addition to the objects used for sending (Response), receiving and processing data (requeest), and Server access (Server), ASP objects also have some very useful Application tags) and the object of a single user information (Session.Session
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