Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chng: 17
Data Controls
1 Lp trnh Web
Ni dung
The GridView
Lp trnh Web
The GridView
Automatically Generating Columns
Defining Columns
Lp trnh Web
The GridView
Automatically Generating Columns
Defining Columns
Lp trnh Web
TemplateField
Defining Columns:
Lp trnh Web
FooterText, HeaderText, and Sets the text in the header and footer region of the HeaderImageUrl grid if this grid has a header and footer. To show an image in the header instead of text, set the HeaderImageUrl property ReadOnly InsertVisible If true, it prevents the value for this column from being changed in edit mode If true, it prevents the value for this column from being set in insert mode
Lp trnh Web
Using Styles
Formatting-Specific Values
Lp trnh Web
Formatting Fields
Each BoundField column provides a DataFormatString
property you can use to configure the appearance of numbers and dates using a format string.
Lp trnh Web
10
Formatting Fields
Numeric Format Strings: View Table 17-3. in the ebook
at page 584. Time and Date Format Strings: View Table 17-4 in the ebook at page 585
Lp trnh Web
11
12
Lp trnh Web
Lp trnh Web
13
Lp trnh Web
14
Lp trnh Web
15
Paging
16
Lp trnh Web