Redigera

Dela via


GridView.IDataBoundControl.DataSourceID Property

Definition

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

property System::String ^ System::Web::UI::WebControls::IDataBoundControl::DataSourceID { System::String ^ get(); void set(System::String ^ value); };
string System.Web.UI.WebControls.IDataBoundControl.DataSourceID { get; set; }
member this.System.Web.UI.WebControls.IDataBoundControl.DataSourceID : string with get, set
 Property DataSourceID As String Implements IDataBoundControl.DataSourceID

Property Value

The ID of the data source from which the data-bound control retrieves 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