2007年5月14日

User Controls

摘要: In addition to the built-in server controls provided by ASP.NET, you can easily define your own controls using the same programming techniques that you have already learned for writing Web Forms pages... 阅读全文

posted @ 2007-05-14 10:38 改变热爱 阅读(308) 评论(0) 推荐(0)

HTML Controls[15]->HtmltextArea

摘要: The HtmlTextArea control is a multiline input control that lets the user enter text. The display width of HtmlTextArea is determined by its Cols property, and the display height is determined by the R... 阅读全文

posted @ 2007-05-14 10:37 改变热爱 阅读(194) 评论(0) 推荐(0)

HTML Controls[14]->HtmlTable , HtmlTableRow , and HtmlTableCell

摘要: The HtmlTable control lets you build up a table programmatically by adding HtmlTableRow controls to the table's Rows collection and HtmlTableCell controls to the row's Cells collection. You can add co... 阅读全文

posted @ 2007-05-14 10:36 改变热爱 阅读(254) 评论(0) 推荐(0)

HTML Controls[12]->HtmlInputText

摘要: The HtmlInputText control is a single-line input control that lets the user enter text. HtmlInputText supports two behaviors. If Type is Text, HtmlInputText operates as a standard text box. If Type is... 阅读全文

posted @ 2007-05-14 10:35 改变热爱 阅读(188) 评论(0) 推荐(0)

HTML Controls[13]->HtmlSelect

摘要: The HtmlSelect control provides a drop-down list. The following sample illustrates using the HtmlSelect control. C# HtmlSelect1.aspx The following sample illustrates using data binding with an HtmlSe... 阅读全文

posted @ 2007-05-14 10:35 改变热爱 阅读(185) 评论(0) 推荐(0)

HTML Controls[11]->HtmlInputRadioButton

摘要: An HtmlInputRadioButton control creates a single radio button input field. Setting the Name attribute the same way on each radio button forms a group in which only one radio button can be selected at ... 阅读全文

posted @ 2007-05-14 10:34 改变热爱 阅读(187) 评论(0) 推荐(0)

HTML Controls[9]->HtmlInputHidden

摘要: You can use hidden controls within HTML forms to embed non-visible information that will be sent back to the server the next time a user performs a postback. This technique is commonly used to persist... 阅读全文

posted @ 2007-05-14 10:33 改变热爱 阅读(214) 评论(0) 推荐(0)

HTML Controls[10]->HtmlInputImage

摘要: An HtmlInputImage control is used to create a graphical button. Unlike HtmlButton controls, all standard browser clients support image buttons. The following sample illustrates using the HtmlInputImag... 阅读全文

posted @ 2007-05-14 10:33 改变热爱 阅读(132) 评论(0) 推荐(0)

HTML Controls[7]->HtmlInputCheckBox

摘要: The HtmlInputCheckBox control accepts Boolean (true/false) input. When selected, its Checked property is true. The following sample illustrates using the HtmlInputCheckBox control. C# HtmlInputCheckBo... 阅读全文

posted @ 2007-05-14 10:31 改变热爱 阅读(205) 评论(0) 推荐(0)

HTML Controls[8]->HtmlInputFile

摘要: An HtmlInputFile control handles uploading of binary or text files from a client browser to the server. File-upload works with all HTML 3.2 and later Web clients. Note that the Enctype attribute on th... 阅读全文

posted @ 2007-05-14 10:31 改变热爱 阅读(171) 评论(0) 推荐(0)

HTML Controls[6]->HtmlInputButton

摘要: The HtmlInputButton control (<Input type=button>) is similar in function to the <button> tag, except that it can target any browser. The following sample illustrates using the HtmlInputBut... 阅读全文

posted @ 2007-05-14 10:29 改变热爱 阅读(178) 评论(0) 推荐(0)

HTML Controls[5]->HtmlImage

摘要: An HtmlImage control renders the image file specified by its Src property in an HTML <img> tag. The following sample illustrates using the HtmlImage control. C# HtmlImage1.aspx 阅读全文

posted @ 2007-05-14 10:28 改变热爱 阅读(137) 评论(0) 推荐(0)

HTML Controls[4]->HtmlGeneric

摘要: The HtmlGenericControl provides an ASP.NET server control implementation for all unknown HTML server control tags not directly represented by a specific HTML server control (for example, <span>,... 阅读全文

posted @ 2007-05-14 10:27 改变热爱 阅读(139) 评论(0) 推荐(0)

HTML Controls[3]->HtmlForm

摘要: An HtmlForm control is required to process postback requests. A Web Forms page might only have one server side <form> tag; however, client forms (no runat=server attribute) can also postback to ... 阅读全文

posted @ 2007-05-14 10:26 改变热爱 阅读(156) 评论(0) 推荐(0)

HTML Controls[2]->HtmlButton

摘要: The HtmlButton control renders as an HTML 4.0 <button>. This differs from <input type="button"> in that it enables Web developers to create rich user interface form buttons that can be com... 阅读全文

posted @ 2007-05-14 10:25 改变热爱 阅读(136) 评论(0) 推荐(0)

HTML Controls[1]->HtmlAnchor

摘要: The following sample illustrates using the HtmlAnchor control (). HtmlAnchor is used to navigate from the client page to another page. C# HtmlAnchor1.aspx DataBinding HtmlAnchor The HtmlAnchor con... 阅读全文

posted @ 2007-05-14 10:24 改变热爱 阅读(170) 评论(0) 推荐(0)

HTML Controls

摘要: HtmlAnchor HtmlImage ... 阅读全文

posted @ 2007-05-14 10:23 改变热爱 阅读(175) 评论(0) 推荐(0)

WebParts Controls[13]->ConnectionZone

摘要: The ConnectionZone control enables web parts to be connected to each other dynamically. You can use this control to enable connections and to set properties for a connection. However, a web part must ... 阅读全文

posted @ 2007-05-14 10:22 改变热爱 阅读(142) 评论(0) 推荐(0)

WebParts Controls[11]->LayoutEditorPart

摘要: The LayoutEditorPart class is an editor control that derives from the EditorPart class, and is used to edit properties that affect the layout of an associated WebPart or GenericWebPart control. The m... 阅读全文

posted @ 2007-05-14 10:21 改变热爱 阅读(128) 评论(0) 推荐(0)

WebParts Controls[12]->PropertyGridEditorPart

摘要: The PropertyGridEditorPart provides a generic user interface (UI) that enables users to edit custom properties on WebPart controls. In contrast, the other EditorPart controls, such as the AppearanceEd... 阅读全文

posted @ 2007-05-14 10:21 改变热爱 阅读(192) 评论(0) 推荐(0)

WebParts Controls[10]->BehaviorEditorPart

摘要: The BehaviorEditorPart class is an editor control that derives from the EditorPart class, and is used to edit properties that affect the behavior of an associated WebPart or GenericWebPart control. T... 阅读全文

posted @ 2007-05-14 10:20 改变热爱 阅读(148) 评论(0) 推荐(0)

WebParts Controls[8]->EditorZone

摘要: The EditorZone control is one of the fundamental controls in the Web Parts control set. A key feature of Web Parts is the ability of end users to modify (or personalize) Web pages according to their p... 阅读全文

posted @ 2007-05-14 10:19 改变热爱 阅读(241) 评论(0) 推荐(0)

WebParts Controls[9]->AppearanceEditorPart

摘要: The AppearanceEditorPart class is an editor control that derives from the EditorPart class, and is used to edit properties that affect the appearance of an associated WebPart or GenericWebPart control... 阅读全文

posted @ 2007-05-14 10:19 改变热爱 阅读(178) 评论(0) 推荐(0)

WebParts Controls[7]->ImportCatalogPart

摘要: The ImportCatalogPart control enables users to import a description file that describes settings on a WebPart control or server control that a user wants to add to a Web page. After the user has impor... 阅读全文

posted @ 2007-05-14 10:18 改变热爱 阅读(115) 评论(0) 推荐(0)

WebParts Controls[6]->PageCatalogPart

摘要: The PageCatalogPart class serves one very specific purpose on a Web Parts page: it acts as a page catalog to contain any controls previously added to the page that a user has closed, and that the user... 阅读全文

posted @ 2007-05-14 10:17 改变热爱 阅读(175) 评论(0) 推荐(1)

WebParts Controls[5]->DeclarativeCatalogPart

摘要: The DeclarativeCatalogPart control provides a way for developers to add a set of server controls declaratively to a catalog on a Web page. A catalog, in the Web Parts control set, is simply a list of ... 阅读全文

posted @ 2007-05-14 10:17 改变热爱 阅读(126) 评论(0) 推荐(0)

WebParts Controls[4]->CatalogZone

摘要: Serves as the primary control in the Web Parts control set for hosting ASP.NET server controls of type CatalogPart on a Web page. A CatalogZone control becomes visible only when a user switches a Web... 阅读全文

posted @ 2007-05-14 10:16 改变热爱 阅读(162) 评论(0) 推荐(0)

WebParts Controls[3]->WebPartZone

摘要: The WebPartZone control serves as the primary control in the Web Parts control set for hosting ASP.NET server side controls on a Web page. In addition to web parts that inherit from the WebPart class... 阅读全文

posted @ 2007-05-14 10:15 改变热爱 阅读(147) 评论(0) 推荐(0)

WebParts Controls[2]->ProxyWebPartManager

摘要: The ProxyWebPartManager class allows page developers a way to specify static connections in a content page when the WebPartManager has been specified in the master page. C# WebPartManager Sample 阅读全文

posted @ 2007-05-14 10:15 改变热爱 阅读(171) 评论(0) 推荐(0)

WebParts Controls[1]->WebPartManager

摘要: The WebPartManger is the central class of the Web Part Control Set, responsible for managing and coordinating all controls inside WebZones. C# WebPartManager Sample 阅读全文

posted @ 2007-05-14 10:13 改变热爱 阅读(258) 评论(1) 推荐(0)

WebParts Controls

摘要: WebPartManager DeclarativeCatalogPart ... 阅读全文

posted @ 2007-05-14 10:11 改变热爱 阅读(142) 评论(0) 推荐(0)

Navigation Controls[3]->TreeView

摘要: The ASP.NET TreeView control is a powerful server-control for rendering TreeView UI, as shown in the figure below. It supports a variety of programming models, from statically-defined trees, to dynami... 阅读全文

posted @ 2007-05-14 10:10 改变热爱 阅读(474) 评论(0) 推荐(0)

Navigation Controls[2]->Menu

摘要: The Menu control is comprised of one or more MenuItems typically organized into different levels of a hierarchy. Each MenuItem consists of properties that determine the look and feel of the MenuItem (... 阅读全文

posted @ 2007-05-14 10:09 改变热爱 阅读(210) 评论(0) 推荐(0)

Navigation Controls

摘要: SiteMapPath Menu Tr... 阅读全文

posted @ 2007-05-14 10:07 改变热爱 阅读(108) 评论(0) 推荐(0)

Login Controls[7]->ChangePassword

摘要: The ChangePassword control provides the functionality to confirm a user's existing password prior to executing the password change. In the case where the user is not already authenticated on the web s... 阅读全文

posted @ 2007-05-14 10:07 改变热爱 阅读(409) 评论(0) 推荐(0)

Login Controls[6]->CreateUserWizard

摘要: The CreateUserWizard control extends the Wizard control with additional functionality that relies on the Membership service to create a new user in your membership data store. Since it extends the Wiz... 阅读全文

posted @ 2007-05-14 10:06 改变热爱 阅读(351) 评论(0) 推荐(0)

Login Controls[5]->LoginName

摘要: The LoginName controls displays the currently authenticated user's name on the page. It uses the value returned by calling page.user.identity. If the user is not currently logged in then the control d... 阅读全文

posted @ 2007-05-14 10:05 改变热爱 阅读(159) 评论(0) 推荐(0)

Login Controls[4]->LoginStatus

摘要: The LoginStatus control automatically detects the user's authentication status and displays the appropriate Login/Logout option. Clicking on the Login button will redirect the user to the login page f... 阅读全文

posted @ 2007-05-14 10:05 改变热爱 阅读(287) 评论(0) 推荐(0)

Login Controls[3]->PasswordRecovery

摘要: The PasswordRecovery control provides the functionality to retrieve or reset a user's password based on their username. The information is then emailed to the user. The control does not support displa... 阅读全文

posted @ 2007-05-14 10:04 改变热爱 阅读(252) 评论(0) 推荐(0)

Login Controls[2]->LoginView

摘要: The LoginView control automatically detects a user's authentication status and role and matches that information to appropriate template of information to display to that user. The LoginView control c... 阅读全文

posted @ 2007-05-14 10:03 改变热爱 阅读(247) 评论(0) 推荐(0)

Login Controls[1]->Login

摘要: The Login control provides the user interface to log a user into a web site. The Login control uses the Membership service to authenticate the user in your membership system. The default Membership se... 阅读全文

posted @ 2007-05-14 10:03 改变热爱 阅读(223) 评论(0) 推荐(0)

Login Controls

摘要: Login PasswordRecovery ... 阅读全文

posted @ 2007-05-14 10:00 改变热爱 阅读(148) 评论(0) 推荐(0)

Validation Controls[6]->ValidationSummary

摘要: When the user's input is processed (for example, when the form is submitted), the Web Forms framework passes the user's entry to the associated validation control or controls. The validation controls ... 阅读全文

posted @ 2007-05-14 10:00 改变热爱 阅读(180) 评论(0) 推荐(0)

Validation Controls[5]->CustomValidator

摘要: The CustomValidator control calls a user-defined function to perform validations that the standard validators can't handle. The custom function can execute on the server or in client-side script, such... 阅读全文

posted @ 2007-05-14 09:59 改变热爱 阅读(193) 评论(0) 推荐(0)

Validation Controls[4]->CompareValidator

摘要: The CompareValidator control compares the value of one control to another, or to an explicit value in the control's ValueToCompare property. Note: For the purpose of validation, a specific property on... 阅读全文

posted @ 2007-05-14 09:58 改变热爱 阅读(186) 评论(0) 推荐(0)

Validation Controls[3]->RegularExpressionValidator

摘要: The RegularExpressionValidator control confirms that the entry matches a pattern defined by a regular expression. This type of validation allows you to check for predictable sequences of characters, s... 阅读全文

posted @ 2007-05-14 09:57 改变热爱 阅读(112) 评论(0) 推荐(0)

Validation Controls[2]->RangeValidator

摘要: The RangeValidator control tests whether an input value falls within a given range. RangeValidator uses three key properties to perform its validation: ControlToValidate contains the value to validate... 阅读全文

posted @ 2007-05-14 09:57 改变热爱 阅读(142) 评论(0) 推荐(0)

Validation Controls[1]->RequiredFieldValidator

摘要: The RequiredFieldValidator control ensures that the user does not skip an entry. The control fails validation if the value it contains does not change from its initial value when validation is perform... 阅读全文

posted @ 2007-05-14 09:56 改变热爱 阅读(154) 评论(0) 推荐(0)

Validation Controls

摘要: RequiredFieldValidator RegularExpressionValidator ... 阅读全文

posted @ 2007-05-14 09:53 改变热爱 阅读(128) 评论(0) 推荐(0)

Data Controls[10]->SiteMapDataSource

摘要: The SiteMapDataSource control enables you to declaratively data bind to site navigation data in your pages. The SiteMapDataSource control is associated to a data-bound control through the control's Da... 阅读全文

posted @ 2007-05-14 09:53 改变热爱 阅读(296) 评论(0) 推荐(0)

Data Controls[9]->XmlDataSource

摘要: The XmlDataSource control belongs to the family of data source controls in ASP.NET, which enables a declarative databinding model against a variety of underlying data stores. The XMLDataSource control... 阅读全文

posted @ 2007-05-14 09:52 改变热爱 阅读(263) 评论(0) 推荐(0)

Data Controls[8]->AccessDataSource

摘要: The AccessDataSource control is a data source control that represents a connection to a Microsoft™ Access database. The AccessDataSource control derives from SqlDataSource, but exposes a simple DataFi... 阅读全文

posted @ 2007-05-14 09:51 改变热爱 阅读(177) 评论(0) 推荐(0)

Data Controls[7]->ObjectDataSource

摘要: ObjectDataSource belongs to the family of data source controls in ASP.NET, which enables a declarative databinding model against a variety of underlying data stores, such as SQL databases or XML. Most... 阅读全文

posted @ 2007-05-14 09:51 改变热爱 阅读(235) 评论(0) 推荐(0)

Data Controls[6]->SqlDataSource

摘要: The SqlDataSource control is a data source control that represents a connection to an ADO.NET SQL database provider, such as SQL, OLEDB, ODBC, or Oracle. Note that a separate AccessDataSource control ... 阅读全文

posted @ 2007-05-14 09:49 改变热爱 阅读(318) 评论(0) 推荐(0)

Data Controls[5]->Repeater

摘要: The Repeater control displays data items in a repeating list. Similar to DataList, the content and layout of list items in Repeater is defined using templates. At a minimum, every Repeater must define... 阅读全文

posted @ 2007-05-14 09:47 改变热爱 阅读(188) 评论(0) 推荐(0)

Data Controls[4]->FormView

摘要: FormView is a data-bound user interface control that renders a single record at a time from its associated data source, optionally providing paging buttons to navigate between records. It is similar t... 阅读全文

posted @ 2007-05-14 09:46 改变热爱 阅读(182) 评论(0) 推荐(0)

Data Controls[3]->DetailsView

摘要: DetailsView is a data-bound user interface control that renders a single record at a time from its associated data source, optionally providing paging buttons to navigate between records. It is simila... 阅读全文

posted @ 2007-05-14 09:45 改变热爱 阅读(196) 评论(0) 推荐(0)

Data Controls[2]->DataList

摘要: The DataList control displays data items in a repeating list, and optionally supports selecting and editing the items. The content and layout of list items in DataList is defined using templates. At a... 阅读全文

posted @ 2007-05-14 09:44 改变热爱 阅读(270) 评论(0) 推荐(0)

Data Controls[1]->GridView

摘要: The ASP.NET GridView control is the successor to the v1.x DataGrid, adding the ability to take advantage of specific capabilities of ASP.NET data source controls. Whereas the v1.x DataGrid required a ... 阅读全文

posted @ 2007-05-14 09:43 改变热爱 阅读(278) 评论(0) 推荐(0)

Data Controls

摘要: GridView FormView O... 阅读全文

posted @ 2007-05-14 09:42 改变热爱 阅读(125) 评论(0) 推荐(0)

Standard Controls[27]->Xml

摘要: The Xml control can be used to write out an XML document or the results of an XSL Transform. The DocumentSource specifies the XML document to use. This document will be written directly to the output ... 阅读全文

posted @ 2007-05-14 09:41 改变热爱 阅读(139) 评论(0) 推荐(0)

Standard Controls[26]->Wizard

摘要: The Wizard control provides navigation through a series of steps that collect information incrementally from a user. Many websites include functionality that collects information from the end user (e.... 阅读全文

posted @ 2007-05-14 09:40 改变热爱 阅读(187) 评论(0) 推荐(0)

Standard Controls[25]->TextBox

摘要: The TextBox control enables the user to enter text. By default, the TextMode of TextBox is SingleLine, but you can modify the behavior of TextBox by setting the TextMode to Password or MultiLine. The ... 阅读全文

posted @ 2007-05-14 09:39 改变热爱 阅读(118) 评论(0) 推荐(0)

Standard Controls[24]->Table , TableRow , and TableCell

摘要: The Table control builds up a table programmatically by adding TableRows to the Rows collection of the table, and TableCells to the Cells collection of the row. You can add content to a table cell pro... 阅读全文

posted @ 2007-05-14 09:38 改变热爱 阅读(186) 评论(0) 推荐(0)

Standard Controls[23]->Substitution

摘要: ASP.NET v1.x introduced a powerful feature known as Partial Page Caching. This feature allowed developers to construct ASP.NET pages which were partly dynamic and partly cached. Regions marked as dyna... 阅读全文

posted @ 2007-05-14 09:37 改变热爱 阅读(295) 评论(0) 推荐(0)

Standard Controls[22]->RadioButtonList

摘要: The RadioButtonList control provides a single-selection checked list. Like other list controls, RadioButtonList has an Items collection with members that correspond to each item in the list. To determ... 阅读全文

posted @ 2007-05-14 09:36 改变热爱 阅读(164) 评论(0) 推荐(0)

Standard Controls[21]->RadioButton

摘要: The RadioButton control permits you to intersperse the radio buttons in a group with other content in the page. The buttons in the sample are grouped logically because they all share the same GroupNam... 阅读全文

posted @ 2007-05-14 09:36 改变热爱 阅读(126) 评论(0) 推荐(0)

Standard Controls[20]->PlaceHolder

摘要: The PlaceHolder control can be used as a container control within a document to dynamically load other controls. The PlaceHolder control has no HTML-based output and is used only to mark a spot for ot... 阅读全文

posted @ 2007-05-14 09:35 改变热爱 阅读(128) 评论(0) 推荐(0)

Standard Controls[19]->Panel

摘要: The Panel control is a container for other controls. It is especially useful when you want to generate controls programmatically or hide or show a group of controls, as shown in the following example.... 阅读全文

posted @ 2007-05-14 09:34 改变热爱 阅读(105) 评论(0) 推荐(0)

Standard Controls[18]->MultiView and View

摘要: The MultiView control represents a control that acts as a container for groups of View controls. It allows you to define a group of View controls, where each View control contains child controls, for ... 阅读全文

posted @ 2007-05-14 09:32 改变热爱 阅读(109) 评论(0) 推荐(0)

Standard Controls[17]->Literal

摘要: A Literal control is used to display text. You cannot apply a style to a literal control. This control will pass the content directly to the client browser, unless you use the Mode property to encode ... 阅读全文

posted @ 2007-05-14 09:31 改变热爱 阅读(117) 评论(0) 推荐(0)

Standard Controls[16]->ListBox

摘要: The ListBox control provides a single-selection or multiple-selection list. To enable multiple selection, set the SelectionMode property to Multiple. The following sample illustrates using a simple Li... 阅读全文

posted @ 2007-05-14 09:30 改变热爱 阅读(119) 评论(0) 推荐(0)

Standard Controls[15]->LinkButton

摘要: Like the Button control, LinkButton is used to post a Web Forms page back to the server. For additional button examples, see Button and ImageButton. For a control that navigates to another page, see H... 阅读全文

posted @ 2007-05-14 09:29 改变热爱 阅读(102) 评论(0) 推荐(0)

Standard Controls[14]->Label

摘要: The Label control displays text in a set location on the page. Unlike static text, the Text property of a label can be set programmatically. The following sample illustrates using the Label control. ... 阅读全文

posted @ 2007-05-14 09:28 改变热爱 阅读(102) 评论(0) 推荐(0)

Standard Controls[13]->ImageMap

摘要: Use the ImageMap control to create an image that contains defined hotspot regions. When a user clicks a hot spot region, the control can either generate a post back to the server or navigate to a spec... 阅读全文

posted @ 2007-05-14 09:27 改变热爱 阅读(137) 评论(0) 推荐(0)

Standard Controls[12]->ImageButton

摘要: Like the Button control, ImageButton is used to post back to the server. For additional button examples, see Button and LinkButton. The following sample illustrates using the ImageButton control. C# ... 阅读全文

posted @ 2007-05-14 09:26 改变热爱 阅读(149) 评论(0) 推荐(0)

Standard Controls[11]->Image

摘要: The Image control displays the image defined by its ImageUrl property. The following sample illustrates using the Image control. C# Image1.aspx 阅读全文

posted @ 2007-05-14 09:25 改变热爱 阅读(117) 评论(0) 推荐(0)

Standard Controls[10]->HyperLink

摘要: The HyperLink control is used to navigate from the client to another page. The following sample illustrates using a simple HyperLink control. C# HyperLink1.aspx Data Binding HyperLink The HyperLin... 阅读全文

posted @ 2007-05-14 09:24 改变热爱 阅读(125) 评论(0) 推荐(0)

Standard Controls[9]->HiddenField

摘要: This control enables a developer to store a non-displayed value. The HiddenField control is used to store a value that needs to be persisted across posts to the server. It is rendered as an element. ... 阅读全文

posted @ 2007-05-14 09:24 改变热爱 阅读(165) 评论(0) 推荐(0)

Standard Controls[8]->FileUpload

摘要: The FileUpLoad control enables you to upload file to the server. It displays a text box control and a browse button that allow users to select a file to upload to the server. The user specifies the fi... 阅读全文

posted @ 2007-05-14 09:23 改变热爱 阅读(205) 评论(0) 推荐(0)

Standard Controls[7]->DropDownList

摘要: The DropDownList control provides a single-select drop-down list. The following sample illustrates using a simple DropDownList control. C# DropDownList1.aspx The following sample illustrates using ... 阅读全文

posted @ 2007-05-14 09:22 改变热爱 阅读(102) 评论(0) 推荐(0)

Standard Controls[6]->CheckBoxList

摘要: The CheckBoxList control provides a multiple-selection checked list. Like other list controls, CheckBoxList has an Items collection with members that correspond to each item in the list. To determine ... 阅读全文

posted @ 2007-05-14 09:21 改变热爱 阅读(121) 评论(0) 推荐(0)

Standard Controls[5]->CheckBox

摘要: The CheckBox server control accepts Boolean (true or false) input. When selected, its Checked property is true. Typically a check box is processed as one of several fields in a form; however, it can b... 阅读全文

posted @ 2007-05-14 09:20 改变热爱 阅读(110) 评论(0) 推荐(0)

Standard Controls[4]->Calendar

摘要: The Calendar control displays a month calendar from which users can select dates. The following sample illustrates using a simple Calendar control. C# Calendar1.aspx Date Selection Modes Calendar ... 阅读全文

posted @ 2007-05-14 09:17 改变热爱 阅读(155) 评论(0) 推荐(0)

Standard Controls[3]->Button

摘要: The Button control provides a command button-style control that is used to post a Web Forms page back to the server. The following sample illustrates using a simple Button control. C# Button1.aspx ... 阅读全文

posted @ 2007-05-14 09:16 改变热爱 阅读(259) 评论(1) 推荐(0)

Standard Controls[2]->BulletedList

摘要: The BulletedList control is used to create a list of items formatted with bullets. To specify the individual list items that you want to appear in a BulletedList control, place a ListItem object for e... 阅读全文

posted @ 2007-05-14 09:16 改变热爱 阅读(205) 评论(0) 推荐(0)

Standard Controls[1]->AdRotator

摘要: The AdRotator control presents ad images that, when clicked, navigate to a new Web location. Each time the page is loaded into the browser, an ad is randomly selected from a predefined list. The follo... 阅读全文

posted @ 2007-05-14 09:15 改变热爱 阅读(209) 评论(0) 推荐(0)

Standard Controls

摘要: AdRotator FileUpload ... 阅读全文

posted @ 2007-05-14 09:13 改变热爱 阅读(205) 评论(0) 推荐(0)

Tips and Tricks

摘要: What's New in 2.0 Cross Page Posting - ASP.NET 2.0 allows you to post back from one page to another and you can obtain the source page values from the target page. Wizard Control - The wizar... 阅读全文

posted @ 2007-05-14 09:08 改变热爱 阅读(246) 评论(0) 推荐(0)

Extending ASP.NET

摘要: What's New in 2.0 ASP.NET 2.0 was designed with pluggability and extensibility in mind. You can replace many of the built-in modules and behaviors in ASP.NET with your own custom implementations. Amon... 阅读全文

posted @ 2007-05-14 09:06 改变热爱 阅读(305) 评论(0) 推荐(0)

Monitoring Your Application[3]->Web Events

摘要: The web events feature provides a general framework for emitting runtime events to indicate the occurrence of interesting actions in the application, report application health, or any other informatio... 阅读全文

posted @ 2007-05-14 09:03 改变热爱 阅读(199) 评论(0) 推荐(0)

Monitoring Your Application[2]->Handling Errors

摘要: When an error occurs on a page, ASP.NET sends information about the error to the client. Errors are divided into four categories: Configuration errors: Occur when the syntax or structure of a Web... 阅读全文

posted @ 2007-05-14 09:02 改变热爱 阅读(236) 评论(0) 推荐(0)

Monitoring Your Application[1]->Tracing

摘要: When you are developing an application, it is often helpful to be able to insert debugging print statements into your code to output variables or structures, assert whether a condition is met, or just... 阅读全文

posted @ 2007-05-14 09:01 改变热爱 阅读(148) 评论(0) 推荐(0)

Monitoring Your Application

摘要: What's New in 2.0 ASP.NET 2.0 provides more integrated tracing and instrumentation functionality to enable administrators to better diagnose and fix problems within the application. The new runtime i... 阅读全文

posted @ 2007-05-14 08:59 改变热爱 阅读(158) 评论(0) 推荐(0)

Managing Your ASP.NET Application[5]->Configuring the Process Model

摘要: One of the most important requirements for ASP.NET Framework applications is reliability. The architecture of applications running inside the server process (in IIS, Inetinfo.exe) does not produce a s... 阅读全文

posted @ 2007-05-14 08:56 改变热爱 阅读(250) 评论(0) 推荐(0)

Managing Your ASP.NET Application[4]->Using Management Tools

摘要: ASP.NET 2.0 includes a full range of management tools that you can use to configure your web application: An ASP.NET Microsoft Management Console Snapin that integrates with the Internet Informat... 阅读全文

posted @ 2007-05-14 08:55 改变热爱 阅读(176) 评论(0) 推荐(0)

Managing Your ASP.NET Application[3]->Using the Management API

摘要: ASP.NET 2.0 now includes a full configuration management API that enables you to navigate, read, and write application configuration. The management API has the following benefits: Configuration ... 阅读全文

posted @ 2007-05-14 08:54 改变热爱 阅读(220) 评论(0) 推荐(0)

Managing Your ASP.NET Application[2]->Retrieving Configuration

摘要: You can access configuration settings from within an ASP.NET application by using either the ConfigurationManager class, or the GetConfig or GetAppConfig method of the current HttpContext. The object ... 阅读全文

posted @ 2007-05-14 08:53 改变热爱 阅读(179) 评论(0) 推荐(0)

Managing Your ASP.NET Application[1]->Configuration File Format

摘要: ASP.NET configuration files are XML text files — each named web.config — that can appear in any directory of an ASP.NET Web application. Each web.config file applies configuration settings to the dire... 阅读全文

posted @ 2007-05-14 08:52 改变热爱 阅读(423) 评论(0) 推荐(0)

Managing Your ASP.NET Application

摘要: What's New in 2.0 Configuration API - The configuration API allows you to write programs and tools to examine and modify application configuration, using a full strongly typed configuration API ... 阅读全文

posted @ 2007-05-14 08:51 改变热爱 阅读(198) 评论(0) 推荐(0)

导航