Export (0) Print
Expand All

BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Method

In a design host, such as Visual Studio 2005, displays a dialog box to assist the user in creating a data source.

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

public static DialogResult ShowCreateDataSourceDialog(
	ControlDesigner controlDesigner,
	Type dataSourceType,
	bool configure,
	out string dataSourceID
)

Parameters

controlDesigner
Type: System.Web.UI.Design.ControlDesigner

A reference to this designer.

dataSourceType
Type: System.Type

The type of data source.

configure
Type: System.Boolean

true to enable editing of the configuration, or false to disable configuration editing.

dataSourceID
Type: System.String

The ID of a DataSourceControl control on the page.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft