BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Methode

Definitie

In een ontwerphost, zoals Visual Studio 2005, wordt een dialoogvenster weergegeven om de gebruiker te helpen bij het maken van een gegevensbron.

public:
 static System::Windows::Forms::DialogResult ShowCreateDataSourceDialog(System::Web::UI::Design::ControlDesigner ^ controlDesigner, Type ^ dataSourceType, bool configure, [Runtime::InteropServices::Out] System::String ^ % dataSourceID);
public static System.Windows.Forms.DialogResult ShowCreateDataSourceDialog(System.Web.UI.Design.ControlDesigner controlDesigner, Type dataSourceType, bool configure, out string dataSourceID);
static member ShowCreateDataSourceDialog : System.Web.UI.Design.ControlDesigner * Type * bool * string -> System.Windows.Forms.DialogResult
Public Shared Function ShowCreateDataSourceDialog (controlDesigner As ControlDesigner, dataSourceType As Type, configure As Boolean, ByRef dataSourceID As String) As DialogResult

Parameters

controlDesigner
ControlDesigner

Een verwijzing naar deze ontwerpfunctie.

dataSourceType
Type

Het type gegevensbron.

configure
Boolean

true om het bewerken van de configuratie in te schakelen of false om configuratiebewerking uit te schakelen.

dataSourceID
String

De id van een DataSourceControl besturingselement op de pagina.

Retouren

Een DialogResult-object.

Van toepassing op

Zie ook