Use the gridview
* Enablesortingandpagingcallbacks: Enable Ajax sorting, but templatefield cannot be used at this time.
* Tables can be automatically generated directly from the database. Generally, it is useless to view data.
* Rowdatabind
* MIME: Baidu encyclopedia, which is the multimedia type of the notification browser.
* ASP. NET: The execution user. In 2K3, It is the network service, and other systems are the ASPNET accounts.
* Store files in the database: It's very simple.
* Path: for WebProgramPath tools and methods
* The user control cannot be in the same directory as the reference page, so it is best to separate a directory for the user control;
* Ajax: implements the icallbackeventhandler interface, which
* Topic name: the topic folder is finally compiled into a class with the topic name, so it is best not to conflict with existing classes.
* Topic name: use the control name and topic suffix as the optimal name. Different controls must be placed in
* Masterpage_url: the URL on the template page was mixed up by me last time, so I wrote a method to generate its absolute address, at that time, I still had no idea why ms was designed like this (it would redirect the URL of the Asp.net control to
Search for its subclass through the actionresult class. The following showsCode:
// Viewresultbase. CS
Public override void executeresult (controllercontext context) {If (context = NULL) throw new argumentnullexception ("context ");If (string.
Visual Studio. net from 2003 to the current 2008, along the way slowly powerful ...... Since vs2003 was able to automatically mess up your html code, and now in vs2008, html code can be directly verified and prompted by w3c standards, which is very
Making our programs more approachable and more vivid is of great benefit to our programming. It can also help us get twice the result with half the effort. The unwritten standards observed during programming are beneficial to our communication with
ASP. NET (1.0/1.1) provides us with a WebControl programming model, so we get rid of the reuse of the include Mode in asp. However, the Web control development model provided by 1.0/1.1 is quite handy for components that do not have external
/*************************************** **************************************** * ***** Function description: * Author: Liu gongxun; * version: V0.1 (C #2.0); time:-1-1 * when using SQL Server, reference SQLDMO in the COM component. dll component *
From: http://www.cnblogs.com/zyip/archive/2009/08/13/1544968.html
In web server development, different forms of paths are often encountered, and it is often hard to remember how to obtain a specific format, today, I took some time to make a simple
DetailsView control and FormView Control
* Ajax paging: EnablePagingCallbacks enabled;
The ajax is the same as the one in the gridview. It is encapsulated and can be used directly. It only updates the current control, the only depressing thing is
Repeater and DataList controls
* Gradient filter css code:
. Photo {filter: progid: DXImageTransform. Microsoft. Fade (duration = 2 );}
* Different from the Repeater, The DataList control outputs an Html table by default, making the layout more
Create component
First, the components here are not components of the general sense
* A major defect in the dynamic compilation process is that if any component error occurs, the entire site may fail to run;
* Components written in different
ObjectDataSource Control
Five main attributes: TypeNmae SelectMethod UpdateMethod InsertMethod DeleteMethod;
* This control can represent any object. If this object does not support IEnumerable, it will be automatically packaged into the new object
Document directory
Introduction
Basic Reporting
Master/Detail
Custom Formatting
Editing, Inserting, and Deleting Data
Paging and Sorting
Custom Button Actions
Displaying Data with the DataList and Repeater
Filtering Scenarios with the
Recently, the leaders asked access to be a site. There was no problem during development, and finally there was a problem during iis deployment. The error message is that an updatable query must be used for the operation. Needless to say, it was a
Pages can be seen as a collection of various controls. During page initialization and loading, You can traverse these controls to find specific controls or change the properties of some controls.
Let's take a look at the following example:
Script
For more information, see http://q.cnblogs.com/q/34874/.
W3wp.exe at the site will be accidentally terminated
EventLog information:
An unhandled exception occurred and the process was terminated.
Application ID: DefaultDomain
Process ID: 43644
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.