If Err.Number = 0 ThenEr = FalseElseErr.ClearEr = TrueEnd IfEnd FunctionSub Delfile (filename) ' This is a procedure for deleting files, and if no file name is specified, all files in that directory will be deletedOn Error Resume NextSet
First, the question of the proposed
Active Server Pages (ASP) is a server-side scripting environment that combines the capabilities of HTML pages, script commands, and ActiveX components to create and run dynamic, interactive Web applications.
1. Operation HTTP Header
We have seen in several places how ASPs Create or modify the HTTP headers that are sent to the customer in response to a page request. There are several properties and methods in the response object that can help us do a
In the ASP encryption method has the corresponding decryption method is not much, and now according to the predecessor data in the ASP encryption and decryption function
Rsa.asp
REM Encryption and decryption in ASP, encryption method: according to
Starting from this chapter we will enter our tutorials by a simple, guest book program that uses file storage to access the message. To write such a guest book, we can roughly take the following three steps to complete.
Step one: First design a
Because the controller is placed in the class library in the MVC2 project, the parsing XML file is used, and the project structure is shown below
How to get the absolute path to the XML file in the class library, I searched the web
This method
The simplest and most concise method
1. In the database tutorial, the main use of the Begin Transaction,commit Transaction,rollback transaction Three operations to implement, Additionally, an error occurred during the execution of the SQL
Type: System.Web.HttpRequestWhen the browser requests a page from the server, this behavior is called a request.The methods and properties of the HttpRequest class are exposed through the request properties of the HttpApplication, HttpContext, page,
The main solution is to rely on HttpContext objects, such as
Httpcontext.current.request.physicalpath; Gets the full physical path of the current page. For example f:xfu.nsqsprojectwebsitedefault.asp Tutorial
Simple and practical ASP tutorial. NET MSSQL Universal Paging programOne, the more omnipotent pagination:
SQL code:
View Sourceprint?1 Select top the number of records displayed per page * from topic where ID isn't in
2 (select top (Current page-1
Str.trim () is the use of. NetTrim (str) is the use of VB. This usage cannot be used in C #, but the one above can be used for C #
The string parameter in the action, such as the name parameter in the Query method.The string property of the complex
It is very convenient to use ASP to implement the search engine function. However, how can we achieve smart search similar to 3721? For example, when "Chinese people" is entered in the search condition box, keywords such as "China" and "people" are
First, the ASP (VBScript) class is composed of events and methods (they are members of the composition class). If you have not touched it, you can first take a look at the following description (haha, I am selling it now. Sorry for the poor
How to set up startup debugging for ASP. NET applications (including remote debugging) Please select the following steps based on your debugging type and operating system (if not, set them from the beginning)PS: When I wrote this article, I used Win
Are you satisfied with your own database design? Are you sure you don't want to deal with it? For example, creating a new database table, such as creating or modifying a field ...... Of course, these are the columns of the design database.In this
Long article pages are displayed by pagination. If you want to use ASP to implement this function, you can find that only the paging method is based on the number of words. However, this methodThere is a BUG, that is, if UBB code is included in your
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.