BaseDataListDesigner.DesignerView Property

Definition

Gets the default view of the data source that is bound to the associated control.

C#
public System.Web.UI.Design.DesignerDataSourceView DesignerView { get; }

Property Value

The DesignerDataSourceView representing the default view of the data source.

Remarks

The DesignerView property gets the default view of the data source that is bound to the associated control by passing the DataMember property to the GetView method of the DataSourceDesigner object. If no view is returned or the DataMember property is not set, the GetViewNames method of the DataSourceDesigner is used to get the view names and the first view name is used to get the default view.

Applies to

Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 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

See also