IDataBoundItemControl 接口
定义
公开用于在数据绑定控件中显示单个项的属性。Exposes the properties that are used to display a single item in a data-bound control.
public interface class IDataBoundItemControl : System::Web::UI::WebControls::IDataBoundControl
public interface IDataBoundItemControl : System.Web.UI.WebControls.IDataBoundControl
type IDataBoundItemControl = interface
interface IDataBoundControl
Public Interface IDataBoundItemControl
Implements IDataBoundControl
- 派生
- 实现
注解
此接口提供用于显示 FormView 和数据绑定控件中的单个项的属性 DetailsView 。This interface provides properties that are used to display a single item in the FormView and DetailsView data-bound controls.
属性
| DataKey |
获取对象,该对象表示数据绑定控件中行的数据键值。Gets the object that represents the data-key value of the row in a data-bound control. |
| DataKeyNames |
获取或设置一个数组,该数组包含显示在数据绑定控件中的项的主键字段的名称。Gets or sets an array that contains the names of the primary-key fields of the items that are displayed in a data-bound control. (继承自 IDataBoundControl) |
| DataMember |
当数据源包含多个数据项列表时,获取或设置数据绑定控件绑定到的数据列表的名称。Gets or sets the name of the list of data that the data-bound control binds to when the data source contains more than one list of data items. (继承自 IDataBoundControl) |
| DataSource |
获取或设置数据绑定控件从中检索数据项列表的对象。Gets or sets the object from which the data-bound control retrieves a list of data items. (继承自 IDataBoundControl) |
| DataSourceID |
获取或设置数据绑定控件从中检索数据项列表的数据源控件的 ID。Gets or sets the ID of the data source control from which the data-bound control retrieves a list of data items. (继承自 IDataBoundControl) |
| DataSourceObject |
获取数据绑定控件从中检索数据项列表的数据源对象。Gets the data source object from which the data-bound control retrieves a list of data items. (继承自 IDataBoundControl) |
| Mode |
获取数据绑定控件的当前模式。Gets the current mode of a data-bound control. |