BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Method
.NET Framework 3.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 )
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.Community Additions
ADD
Show: