Freigeben über


BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Methode

Definition

In einem Entwurfshost, z. B. Visual Studio 2005, wird ein Dialogfeld angezeigt, das den Benutzer beim Erstellen einer Datenquelle unterstützt.

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

Parameter

controlDesigner
ControlDesigner

Ein Verweis auf diesen Designer.

dataSourceType
Type

Der Typ der Datenquelle.

configure
Boolean

true, um die Bearbeitung der Konfiguration zu aktivieren, oder false, um die Konfigurationsbearbeitung zu deaktivieren.

dataSourceID
String

Die ID eines DataSourceControl-Steuerelements auf der Seite.

Gibt zurück

DialogResult

Ein DialogResult-Objekt.

Gilt für

Siehe auch