A few days ago is open a question, about how to do their own thinking a lot, but after all did not do projects do not know whether these ideas have no need, also do not know whether can be achieved, but Deng said "stones" bar. This period of time
Online Three-level menu is much more but the code is more annoying, I should say this is more intuitive:
' must be connected to the database first, needless to say.
' Database structure
' Category 1 Table name: A field: Id,name Description: ID The
Script Collection ASP Edition
Table of Contents page (dir.htm) From: Myhyli page (Http://www.blueidea.com/user/myhyli)
--------------------
User: Haiwa
Password: 51windows.com
--------------------
When adding a script, just put the name,
1. It is not recommended to support ASP.net on the server where the host is installed because ASP.net has a large number of unknown security issues.
2. If a user needs to write a file or directory using ASP.net, the following permissions need to
See ASP.net (
Www.asp.netPosted on a long period of MS Ajax video and related information, but very few people in the country mentioned him, today to everyone simply say I am learning Ajax in the early days of the biggest difficulties
In order to prevent the attack again, it is necessary to make a verification code filtering procedure. I looked for some information on the Internet, I feel that the code used by others is always very uncomfortable, I do not write a complex code,
Excel is a software in Microsoft's Office suite that is used primarily for working with spreadsheets. Excel is friendly to the interface, the processing data quickly and so on the advantage obtains the general office staff's welcome. So a lot of
It turns out that there's no table.
Similar to If Xx=1 then yy=2 ...
This script supports drag-and-drop, or you can use cscript change.vbs at the command line xx.asp
Copy Code code as follows:
On Error Resume Next
Set
This version is some time away from the last version, and lately there have been so many things that I've just had my free time to get down
To view the previous version please click here
The JavaScript embedded in the aspx/html page is also
Function procedure:
Copy Code code as follows:
' Del.asp
Dim fso,tmpfolder,tmpsubfolder,tmpfile,tmpfiles
Set Fso=server. CreateObject ("Scripting.FileSystemObject")
Sub Delfolder (spath)
If (FSO). FolderExists (server. MapPath (spath)
Returns to the previous page, generally used to determine whether the information is submitted completely after '******************************
' Function: GoBack ()
' Parameters: None
' Author: Arisisi
' Date: 2007/7/13
' Description: Return to the
' Functions to traverse directories and files in directory
%>
Function Bianli (PATH)
Set fso=server.createobject ("Scripting.FileSystemObject")
On Error Resume Next
Set Objfolder=fso.getfolder (PATH)
Set objsubfolders=objfolder.subfolders
For
First, ASP to create the skills of the object
When we use the server component to create an object,
There are generally two methods. The more common approach is to use the CreateObject () method of the server object, like this:
SET Nextlink = Server.
A business is a series of operations that must be successful, and if one step fails, the other steps must be undone. In fact, in the database system, each SQL statement is a transaction, when executing this statement, either executes successfully,
Code that randomly takes records in a recordset
' Moving to random record-steven Jones ' Extension
If not (recordset name. BOF and recordset name. EOF) Then
' Reset the cursor to the beginning
If (recordset name.) CursorType > 0) Then
The recordset
Copy Code code as follows:
new Page 1
Dim rs
Dim sql
Dim count
Set Rs=server.createobject ("Adodb.recordset")
sql = "SELECT * from Shiinfo ORDER by ID ASC"
Rs.Open sql,conn,1,1
%>
Province sql = "SELECT * FROM
' Several ways to calculate pagination
'//iRecordCount The total number of pages to be calculated
'//iRecordCount is the number of recordsets
'//ipagesize number of records per page
'//One:
If irecordcount Mod ipagesize = 0 Then
Ipagecount = Int
When we are using the ASP.net MVC implementation page jump, the common should be:
RedirectRedirecttoactionRedirecttoroute or use a script jump in the foreground.However, these types of jumps are based on get requests and may not be applicable in
The first method: Response.Redirect This jump page method jump speed is not fast, because it will take 2 back (2 times postback), but it can jump to any page, no Site page restrictions (that is, can be jumped from Yahoo to Sina), while not skip
The example of this article describes the method of ASP.net acquiring real IP. Share to everyone for your reference. Specifically as follows:
public string GetIP ()
{
string result =
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