BaseDataBoundControlDesigner::ShowCreateDataSourceDialog Method (ControlDesigner^, Type^, Boolean, String^%)

 

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,
	[OutAttribute] 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
Available since 2.0
Return to top
Show: