BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Yöntem

Tanım

Visual Studio 2005 gibi bir tasarım ana bilgisayarında, kullanıcıya veri kaynağı oluşturmada yardımcı olacak bir iletişim kutusu görüntülenir.

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

Parametreler

controlDesigner
ControlDesigner

Bu tasarımcıya bir başvuru.

dataSourceType
Type

Veri kaynağının türü.

configure
Boolean

true veya yapılandırma false düzenlemeyi devre dışı bırakmak için.

dataSourceID
String

Sayfadaki bir DataSourceControl denetimin kimliği.

Döndürülenler

Bir DialogResult nesnesi.

Şunlara uygulanır

Ayrıca bkz.