tailieunhanh - The Web Form 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 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 summarizes the controls. Table 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 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 .

TÀI LIỆU LIÊN QUAN
10    158    1
6    184    1
7    162    1
5    157    1
6    160    1
6    152    1
6    150    1
6    206    1
7    154    1
5    121    1