Đang chuẩn bị liên kết để tải về tài liệu:
The Web Form Controls

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

The Web Form Controls In this section, you'll see a summary of the various Web form controls that you can pick from the Toolbox's Web Forms Section. Table 15.1 summarizes the controls | The Web Form Controls In this section you ll see a summary of the various Web form controls that you can pick from the Toolbox s Web Forms Section. Table 15.1 summarizes the controls. Table 15.1 WEB FORM CONTROLS CONTROL DESCRIPTION Label Displays text. You set the text that you want to display using the Text property. TextBox A box containing text that the user of your form may edit at runtime. The TextMode property may be set to SingleLine text appears on one line MultiLine text appears over multiple lines and Password text appears as asterisk characters . The Text property contains the TextBox text. Button A clickable button. The Text property determines the text shown on the button. LinkButton Similar to a Button except that a LinkButton appears as a hypertext link. You set the link using the Text property. ImageButton Similar to a Button except that an ImageButton shows an image. You set the image using the ImageUrl property. HyperLink A hyperlink. You set the hyperlink using the NavigateUrl property. DropDownList A list of options that drops down when clicked. You set the list of options using the Items property. The user can select only one option from the DropDownList when the form is run. ListBox A list of options. You set the list of options using the Items property. The user can select multiple options from the ListBox if the SelectionMode property is set to Multiple. The other value is Single in which case the user can select only one option. DataGrid A grid containing data retrieved from a data source such as a database. You set the data source using the DataSource property. DataList A list containing data retrieved from a data source. You set the data source using the DataSource property. Repeater A list containing data retrieved from a data source that you Table 15.1 WEB FORM CONTROLS CONTROL DESCRIPTION set using the DataSource property. Each item in the list may be displayed using a template. A template defines the content and layout of the items .