BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
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)
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 )
JScript does not support passing value-type arguments by reference.
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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: