First,IIS7.0 configuration ASP. NET2.0
1, asp.net 2 department
1 first open the Win7 feature, the path I have marked
The selection below is asp.net2.0, if you want to support asp.net1.1, your selected IIS6 compatible
2.) Set security options
always prompt when accessing ASP Web site: "500-Internal server error." There is a problem with the resource you are looking for and cannot be displayed. "
The above shows the friendly error of IIS, the following steps to display detailed errors!
'******************************
' Function: Getmax (str)
' Argument: str, an array of numbers to be processed, separated by a number of
' Author: Arisisi
' Date: 2007/7/12
' Description: Gets the maximum value in the array
' Example:
'**************
Copy Code code as follows:
Using System;
Using System.Data;
Using System.Configuration;
Using System.Web;
Using System.Web.Security;
Using System.Web.UI;
Using System.Web.UI.WebControls;
Using System.Web.UI.WebControls.WebParts;
Using
. NET, the calendar date control is provided by default, but it has a flaw in that every time the calendar is displayed, the hidden and the user's selection date can cause a postback.Find My97datepicker on the Internet this JS date control, yes, and
First Workaround:
In the DOS command line state, enter the following commands and press the ENTER key individually:
regsvr32 jscript.dll (Command function: Repair Java dynamic link library)
regsvr32 vbscript.dll (Command function: Repair VB dynamic
Copy Code code as follows:
Barcode Generation
Rem =================================================================
Rem = function: Ean13
Rem = Description: Generate EAN13 standard barcode, with instance (ASP code)
Rem = version: 1.0.0
ASP generated column form, line chart, pie chart source code
function Table2 (total,table_x,table_y,all_width,all_height,line_no)
' parameter meaning (passed array, horizontal axis, ordinate, chart width, chart height, fold line number)
' Pure ASP
Mssql:select top * to [table] order by NEWID ()
ACCESS:
Copy Code code as follows:
' To use Rs.move.
' If you randomly take 10 strips
n = 10
' first to determine whether the total number of records is less than 10, if less
To do a cache-cleaning function in the Web site (that is, to force the cache to expire before the cache expires), some places in the program use the Httpruntime.cache cache, and the database interaction part uses the caching mechanism provided by
The example in this article describes the implementation method for the button control of the ASP.net custom Web server control. Share to everyone for your reference. The implementation methods are as follows:
Copy Code code as follows:
This article describes the ASP.net Web site real-time display of time method. Share to everyone for your reference. The specific methods are as follows:
When designing a Web site or Web application in a asp.net environment, it is often necessary to
The example in this article describes how jquery+ajax+asp.net gets the JSON value. Share to everyone for your reference, specific as follows:
jqueryajaxjson Value Example
Ajax Post Text function SaveData (tempid) {var tid = $
The verification code is a picture. We need to write a section of ,SRC in the foreground code to point to a page (validateimage.aspx).
Copy Code code as follows:
Can't see clearly? Change a Verification Code:
Validateimage.aspx
One, Super linkThe easiest way to get to another form from one form is to use the HTML Hyperlink control. In Web Forms, HTML code classes that use hyperlinks are as follows:
Copy Code code as follows:
Entry Form 2
When the
Method class:
Copy Code code as follows:
UpFileClass.cs
Using System;
Using System.Data;
Using System.Configuration;
Using System.Web;
Using System.Web.Security;
Using System.Web.UI;
Using System.Web.UI.WebControls;
Using System.
To locate a substring is to look for a substring or a character in a string, which is described in detail below.
First, Indexof/lastindexofThe IndexOf method is used to search for the first occurrence of a particular character or substring in
Win under asp.net the configuration
Win 2000 (including Professional,server and advanced Server) does not support ASP by default. NET. It must be configured for an environment.Client SQL Server. NET data Provider Microsoft data Access Component
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