Επεξεργασία

Κοινή χρήση μέσω


BaseDataListDesigner.DesignerView Property

Definition

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

public:
 property System::Web::UI::Design::DesignerDataSourceView ^ DesignerView { System::Web::UI::Design::DesignerDataSourceView ^ get(); };
public System.Web.UI.Design.DesignerDataSourceView DesignerView { get; }
member this.DesignerView : System.Web.UI.Design.DesignerDataSourceView
Public ReadOnly Property DesignerView As DesignerDataSourceView

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

See also