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.

string System.Web.UI.WebControls.IDataBoundControl.DataSourceID { get; set; }

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

Prodotto Versioni
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1