ContainerType ContainerType ContainerType ContainerType Enum

定义

指定数据控件容器类型。Specifies the data-control container type.

public enum class ContainerType
public enum ContainerType
type ContainerType = 
Public Enum ContainerType
继承
ContainerTypeContainerTypeContainerTypeContainerType

字段

Item Item Item Item 1

指示实现 IDataBoundItemControl 接口的项容器,如 DetailsView 控件或 FormView 控件。Indicates an item container that implements the IDataBoundItemControl interface, such as a DetailsView control or a FormView control.

List List List List 0

指示实现 IDataBoundListControl 接口的列表容器,如 ListView 控件、GridView 控件或 Repeater 控件。Indicates a list container that implements the IDataBoundListControl interface, such as a ListView control, a GridView control, or a Repeater control.

注解

项容器实现的保留项容器IDataBoundItemControl接口,如DetailsViewFormView控件。Item containers holds item containers that implement the IDataBoundItemControl interface, such as DetailsView or FormView controls. 列出容器保存实现的列表容器IDataBoundListControl接口,如ListViewGridView,或Repeater控件。List containers hold list containers that implement the IDataBoundListControl interface, such as ListView, GridView, or Repeater controls.

适用于