BaseDataBoundControlDesigner::ShowCreateDataSourceDialog Method (ControlDesigner^, Type^, Boolean, String^%)
.NET Framework (current version)
In a design host, such as Visual Studio 2005, displays a dialog box to assist the user in creating a data source.
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
Available since 2.0
Show: