Tài liệu Display Data Using the Table Control .NET pdf

1 425 0
Tài liệu Display Data Using the Table Control .NET pdf

Đang tải... (xem toàn văn)

Thông tin tài liệu

5.4 Display Data Using the Table Control .NET has a number of controls available for displaying data. How do I know which control to use to display data, and how do I use the Table control to display data? Technique When you're first deciding to list data on your Web forms, you have a few Web server controls to choose from: • Table. This Web server control allows you to create a read-only table type display of data. This control is not data bound, and it uses the TableColumn and TableRow objects for creation. • Repeater. This control is used to display read-only lists. You can use hyperlinks and program the ItemCommand event so that you can perform actions when items are selected. You must use templates to format the display. Templates are discussed in How-To 5.5, as is the Repeater control. This is a great control for quick lists. • DataList. Using this control, you will use templates not only to display, but also to select and edit data in the list. • DataGrid. By far, this is the most powerful of the controls. In addition, it gives you the most control over manipulating data. You display, sort, edit, and use various types of controls in each column. The last three How-Tos in this chapter thoroughly cover the DataGrid control. Anatomy of the Table Web Server Control     . 5.4 Display Data Using the Table Control .NET has a number of controls available for displaying data. How do I know which control to use to display data, . from: • Table. This Web server control allows you to create a read-only table type display of data. This control is not data bound, and it uses the TableColumn

Ngày đăng: 14/12/2013, 20:16

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan