Solutions for CGI timeout in Asp.net

CopyCodeThe Code is as follows: CGI timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. This is mentioned in the official IIS forum because the server uses CGI as an executable file.

ASP. NET online file management

By uploading it to a virtual space, you can easily traverse all directories and content of the service, or download the service. Hey, don't use it to do bad things. This is used for learning ASP. NET file operations. Webfile1.0 system

Some common skills for Asp.net Development

Do not use page cache: You can add the following in the page_load event of the page that you do not want to cache: Code Copy code The Code is as follows: Response. expires = 0; Response. Buffer = true; Response. expiresabsolute = datetime. Now.

Three methods for detecting the existence of remote URLs in Asp.net

CopyCode The Code is as follows: Private void page_load (Object sender, system. eventargs E) { String url1 = "http://s.jb51.net /"; String url2 = "http://www.jb51.net/images/logo.gif "; Response. Write (" Method 1 :"); Response. Write (url1 + ":" +

Asp.net does not use the built-in delete function of the gridview to delete a row of data.

Front-end Code : Copy code The Code is as follows: Autogeneratecolumns = "false" cellpadding = "4" datakeynames = "ID" Bordercolor = "#333" borderstyle = "solid" borderwidth = "1" Onrowdeleting = "publicgridrowdeleting" Gridlines = "NONE" width = "

Asp.net page switch to response. Redirect, server. Transfer, server. Execute

Response. Redirect simply sends a message to the browser, telling the browser to locate another page. You can use the following Code Direct the user to another page: Response. Redirect ("webform2.aspx ") Or Response. Redirect ("http://www.cnnas.com

Solutions to several common exceptions on the Asp.net server.

As follows: (1) Configure Asp.net site ISS to report: Server ApplicationProgramUnavailable. The exception information is as follows: The server application is unavailable.The Web application you are attempting to access on this web server is

Asp.net reads and modifies the config file implementation code

1. Add the app. config file to the project: Right-click the project name and select "add"> "Add new project". In the displayed "Add new project" dialog box, select "add application ". Program Configuration file. If there is no configuration file in

Two Problems and Solutions for export the gridview in Asp.net

For the content exported by the gridview Code It is roughly as follows: Response. Clear (); Response. Buffer = true; Response. charset = "gb2312 "; Response. appendheader ("content-disposition", "attachment; filename =" + filename + ". xls

Asp.net data access layer Stored Procedure paging statement

Therefore, it is best to use the Stored Procedure for paging at the data access layer. the following uses the employee table in the pubs database as an example to store data paging. You can refer to it to create your own stored procedure based on

20 ways to increase the performance of Asp.net applications (simple and effective)

1. Disable sessionIf you cannot use session tracing, disable it. You can set the following in each Asp.net page: Enablesessionstate = "false" %> Of course, you can applyProgramThe value of mode is off in configuration settings. 2. output

Asp.net simple cookie-based permission judgment

Write the cookie page. After creating the cookie, set the cookie attribute and add it to response. the cookie is read from the cookie, and the cookie name or index is used from the request. cookies get rewrite cookies. First, create a cookie with

Server push of Asp.net)

What should I do if I want to maintain the connection between the server and the browser for a long time? Persistent connection technology is not a new technology. Using IFRAME as a method to hide frames pointing to long request pages has already

A permission Scheme Based on Asp. Net MVC

1. Data Structure Mad_Popedom is the permission table, Control record controller name, Action record Action name. Mad_Role is the role table. 2. Permission control implementationHere, we use the simple AOP method and MVC Filter implementation. The

Asp.net Repeater displays parent and child table data without blinking

As follows: The source code is as follows: Copy codeThe Code is as follows: using System; Using System. Data; Using System. Configuration; Using System. Collections; Using System. Web; Using System. Web. Security; Using System. Web. UI; Using

The asp.net pop-up dialog box returns multiple values.

After talking so much, you may not know what I'm talking about ., You will know. Haha. In the figure, the name can be English or Chinese. When you click the select button in the dialog box, you can return to the parent dialog box. The Code is as

Asp generate an excel file (xls) for the table)

Copy codeThe Code is as follows: If request ("action") = 1 then Response. ContentType = "application/ms-excel" Response. AddHeader "content-disposition", "attachment?filename=www.xls" End if %> untitled document ConnStr = "..."Set conn =

The OK button is displayed when asp.net coolite is deleted.

The interface is as follows: You also need to add such code This CompanyUser is the name of the Page you created, for example, The methods in CS are as follows: Copy codeThe Code is as follows: // /// Delete /// /// /// /// [AjaxMethod]

JS date verification regular appendix asp date Formatting Function

Javascript date validation regular Copy codeThe Code is as follows: var pattern =/^ (1 [6-9] | [2-9] \ d) \ d {2})-(0? [1, 13578] | 1 [02])-(0? [1-9] | [12] \ d | 3 [01]) | (1 [6-9] | [2-9] \ d) \ d {2})-(0? [13456789] | 1 [012])-(0? [1-9] | [12] \

Asp deletes image Codes not recorded in the mssql database

Dual Loop is used. Split the image into "." and ask the previous part of the name. Then compare the image path records in other databases. If the InStr function of vb exists, the returned value is greater than 0, so we can draw a conclusion. The

Total Pages: 1800 1 .... 929 930 931 932 933 .... 1800 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.