ASP businessProgramOfCodeThe form is generally a template that separates the interface from the function. The function is encapsulated in the DLL component.Templates are easy for developers and users.Today I want to talk about the DLL encapsulation
PostAnd getDifferences:
Post: Form submission, used to transmit data to the server.
Get: String submission (only ASCII characters). It is used to obtain data from the server. (It is the default form method)
Post: it implicitly submits your
1. querystring []
Advantage: it is easy to use and highly efficient to transmit numbers and text values when security requirements are not high.
Disadvantage: the security is not high, the parameter value is directly exposed in the URL, the
Windows AuthenticationProgramProvides authentication for Windows and Microsoft Internet Information Service (IIS)Used in combination to ensure the security of ASP. NET applications.
Forms authentication providerProvides information about how to use
The events of life circle in a datagrid
First, there is a important object in datagrid: datagriditem, we can get them use datagrid. items which is inherited from System. Web. UI. WebControls;
The maid with type of enum listitemtype and include
1. The processing format of the Global. asax file is different.
An error will occur after conversion. In vs2003, Global. asax has a post-code file. Under 2.0, move the code separation file to the App_Code directory so that it can automatically
Originally, the server runs asp.net Framework Version 1.1, and the site IIS runs normally, but some customers need to install it today.. NET 2.0. After installing version 2.0, the prompt "Server Application Unavailable" appears when the Server is
From: http://social.microsoft.com/forums/zh-cn/2219/thread/A34FFC62-072F-441C-868C-ED1293A90697
1) Avoid using ArrayList.Because any Object to be added to the ArrayList must be of the System. Object type. When retrieving data from the ArrayList, it
For more information about JSON, google! If I want to write it, I will also copy it after Google! Hey, I have always wanted to learn json, and I have learned a little about it by looking for a lot of materials and writing demos! Get started!
From: http://social.microsoft.com/forums/zh-cn/2219/thread/A34FFC62-072F-441C-868C-ED1293A90697
1. database access performance optimization
Database Connection and ShutdownTo access database resources, you need to create a connection, open a
ADODB. Stream (0x800A0BBC) --- An error occurred while uploading the file -- the uploaded directory cannot be found.
(0x80020009) --- The Field Value of the record pointed to by the current rs pointer is NULL and cannot be used.
ADODB. Field (0
Problem description:
Run OK on my local machine and OK on the Server at the beginning. It won't work if FrontPage Server Extensions (FPSE) 2002 is installed. Now I have uninstalled FPSE. This is the complete code,
dim XMLPathXMLPath=
In fact, it is very simple to use only JavaScript, because .net's webform's later Code cannot be used to call cmd.exe.You can use scripts to add time control code at most.Here I am backing up orcle-----------------------------------------------------
First, I want to explain the two keywords in the title: "happy", "ASP. NET programmer ".
Some people want to be an "Outstanding" programmer or a "senior" programmer, simply put, it is a "Daniel"-but this article does not aim at this development
Sessions between asp and asp.net cannot be shared.
Solution: You can use a database or WebService, but this is troublesome.
Cookie sharing is much simpler.The cookies of asp and asp. ne are stored in different encoding formats and can be converted
Address: http://www.cnblogs.com/fish-li/archive/2013/05/28/3104750.html
Reading directory
Start
HttpContext. Current is not everywhere
Application_Start exception and IIS Classic Mode
QueryString and Form allow duplicate keys
Ashx Reuse
ASP. NET provides Session objects, allowing programmers to identify, store, and process the context information of several requests from the same browser object to a specific network application on the server.
1) The Session corresponds to a
Note:// Close. The parent window dialog box is displayed, and the Child window is closed directly.
This. Response. Write (" ");
// Close. The parent window and Child Window are not displayed. Close them directly.
This. Response. Write (" ");
// In
I use the web. config file by chapter asp. net3.5, some configuration Environments
These are case sensitive and start with lowercase letters.
First, let's talk about Settings.
The element contains configuration settings for all ASP. NET
The simplest process is as follows:
1. Create a class named CustomMemberShipProvider, inherit from MembershipProvider, and override the ValidateUser method:
Public class CustomMemberShipProvider: MembershipProvider{/// /// Verify the user/// /// ///
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