GridView.IDataBoundControl.DataSourceObject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.