ContainerType 枚举

定义

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

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

字段

Item 1

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

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接口的项容器, DetailsView如或FormView控件。Item containers holds item containers that implement the IDataBoundItemControl interface, such as DetailsView or FormView controls. 列表容器IDataBoundListControl保存用于实现接口的列表容器, ListView如、 GridViewRepeater控件。List containers hold list containers that implement the IDataBoundListControl interface, such as ListView, GridView, or Repeater controls.

适用于