BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Methode

Definition

In einem Entwurfshost, z. B. Visual Studio 2005, wird ein Dialogfeld angezeigt, das dem Benutzer beim Erstellen einer Datenquelle hilft.

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 zum Aktivieren der Bearbeitung der Konfiguration oder false zum Deaktivieren der Konfigurationsbearbeitung.

dataSourceID
String

Die ID eines DataSourceControl Steuerelements auf der Seite.

Gibt zurück

Ein DialogResult-Objekt.

Gilt für:

Weitere Informationen