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, 
	[OutAttribute] String^% dataSourceID
)
public static DialogResult ShowCreateDataSourceDialog (
	ControlDesigner controlDesigner, 
	Type dataSourceType, 
	boolean configure, 
	/** @attribute OutAttribute() */ /** @ref */ String dataSourceID
)
Not applicable.

Parameters

controlDesigner

A reference to this designer.

dataSourceType

The type of data source.

configure

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

dataSourceID

The ID of a DataSourceControl control on the page.

Return Value

A DialogResult object.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: