BaseDataBoundControlDesigner.ShowCreateDataSourceDialog Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
In a design host, such as Visual Studio 2005, displays a dialog box to assist the user in creating a data source.
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
A reference to this designer.
- dataSourceType
- Type
The type of data source.
- configure
- Boolean
true
to enable editing of the configuration, or false
to disable configuration editing.
- dataSourceID
- String
The ID of a DataSourceControl control on the page.
Returns
A DialogResult object.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.