Despise their own, all said the more basic the more prone to problems
Yesterday LP installed IIS under Win2003 want to test an ASP Web site, the result is always prompt ' can't find the page ', but browsing HTML and other static pages is normal,
1. The order of. NET installations should be to install IIS first, then install Vs.net, if the order is reversed, or if IIS is reinstalled, you will need to use Aspnet_regiis.exe-i to reinstall IIS Mapping (primarily for ASPX, ASMX, etc. The
First, look at the effect!
Look at the function: the paging program first reads the number of preset records per page, this is 5, and others will be displayed on the next page, also prompts the current number of pages, total pages, total records,
000000000000000000000000000000000000000000000000000000000000000
Copy Code code as follows:
Function Comma (str)
If Not (IsNumeric (str)) or str = 0 Then
result = 0
ElseIf Len (Fix (str)) result = Str
Else
Pos = Instr (1,str, ".")
Need to use this function, not how to test it, after the test to give specific code
If the address is:
Http://dxy.com:8082/test/geturl.asp?Param-VR52tmx3syn03777.html
Method One: Simple, no parameters, only one virtual path
Copy Code code as
Using ASP to implement a Web site's directory tree
Database structure (two tables used altogether)
1. Tblcategory
Field Name Type
Root binary description tree off or on (root of directory)
ID Auto Number keyword
The sort integer identifies the
' Rename the file name in the folder and move all the files to the new folder in the following batch;
Response.Write "" & VbCrLf & "" & VbCrLf
Response.Write " Batch file Rename " & VbCrLf
Response.Write "" & VbCrLf & "" & VbCrLf
' Variable
Copy Code code as follows:
'*************************************************************
' Please keep this declaration information when forwarding, this statement does not affect your speed!
'***********************************************
The last article talked about adding form elements dynamically, and this time we'll talk about how to handle the data from these dynamically added form elements! How to add the form element dynamically, I don't have to elaborate here! Look at the
ASP simple multi-query solution
Copy Code code as follows:
' Subject Information title
' Company name to release information
' Content to post information
' Address Company
' Infomation Company profile
' Note related
The above
See many friends for no reason to be cheated, special release this inquiry system, lest again fooled!
The use method is very simple:
Directly input each other's domain name or website, support in English and Chinese! Point Query can
Copy Code
This is the ASP paging list to generate a static page of the ASP applet script
Copy Code code as follows:
pagination Test
"
strhead=strhead& ""
strhead=strhead& " pagination Test "
strhead=strhead& ""
strhead=strhead& ""
%>
The example in this article describes the ASP.net implementation method that cancels the enter response of the text input box in the page form. Share to everyone for your reference, specific as follows:
A long time ago when you developed a asp.net
The example of this article analyzes the method that asp.net2.0 uses enter key as default submission. Share to everyone for your reference, specific as follows:
One of the most annoying things about web development is that it handles "enter key"
From the record, look.
After the ASP.net run, you need to generate some DLL files, and the article in the cloud-dwelling community prohibits the C disk from generating DLL files.
Copy Code code as follows:
2011-6-29 0:10:34 the NT
A pagination code example
Set conn=server.createobject ("ADODB. Connection ")
Conn. Open "Provider=msdaora.1;data source=yoursrcname; User Id=youruserid; Password=yourpassword; "
Set rs=server.createobject ("ADODB. Recordset ")" To create a
Usage:
Insert code where you want to display the picture of the captcha
At the same time, automatically generate session ("PSN"), form to submit validation session on it.
According to the comments of two netizens on the correct use of this
You've been directly F5 through Visual Studio to run your own projects or small programs, rarely posted to IIS on the deployment, so they were testing on their notebooks, the result was really found a lot of problems, and then again through the
When submitting a form, ASP.net prompts: "From the client (...) A potentially dangerous request.form value was detected in the. The request validation feature in ASP.net provides a level of protection against XSS attacks, and ASP.net request
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