BaseDataListDesigner.DesignerView Property

 

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

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public DesignerDataSourceView DesignerView { get; }

Property Value

Type: System.Web.UI.Design.DesignerDataSourceView

The DesignerDataSourceView representing the default view of the data source.

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.

.NET Framework
Available since 2.0
Return to top
Show: