Redigera

Dela via


GridView.IDataBoundControl.DataSourceObject Property

Definition

Gets or sets the data source object from which the data-bound control retrieves the list of data items.

property System::Web::UI::IDataSource ^ System::Web::UI::WebControls::IDataBoundControl::DataSourceObject { System::Web::UI::IDataSource ^ get(); };
System.Web.UI.IDataSource System.Web.UI.WebControls.IDataBoundControl.DataSourceObject { get; }
member this.System.Web.UI.WebControls.IDataBoundControl.DataSourceObject : System.Web.UI.IDataSource
 ReadOnly Property DataSourceObject As IDataSource Implements IDataBoundControl.DataSourceObject

Property Value

The data source object from which the data-bound control retrieves the list of data items.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the GridView instance is cast to an IDataBoundControl interface.

ASP.NET Dynamic Data supports this property.

Applies to