編輯

共用方式為


DetailsView.IDataBoundControl.DataSource Property

Definition

For a description of this property, see DataSource.

property System::Object ^ System::Web::UI::WebControls::IDataBoundControl::DataSource { System::Object ^ get(); void set(System::Object ^ value); };
object System.Web.UI.WebControls.IDataBoundControl.DataSource { get; set; }
member this.System.Web.UI.WebControls.IDataBoundControl.DataSource : obj with get, set
 Property DataSource As Object Implements IDataBoundControl.DataSource

Property Value

An object that represents the data source from which the DetailsView control retrieves its data. The default is null.

Implements

Remarks

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

Applies to