Udostępnij za pośrednictwem


Toolbox, Data tab

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Displays data objects you can add to a forms and components. The Data tab of the Toolbox appears when you create a project that has an associated designer. The Toolbox appears by default in the Visual Studio integrated development environment; if you need to display the Toolbox, select Toolbox from the View menu.

Tip

Running the Data Source Configuration Wizard automatically creates and configures most data items. For more information, see Add new data sources.

UI Element list

To go directly to the .NET reference page for a component, press F1 on the item in the Toolbox or on the component item in the tray of the designer.

Name Description
DataSet Adds an instance of a typed or untyped dataset to the form or component. When you drag this object onto a designer, it displays a dialog box that allows you to select an existing typed dataset class or specify that you want to create a new, blank, untyped dataset. Note: You do not use the DataSet object on the Toolbox to create a new typed dataset schema and class. For more information, see Create and configure datasets.
DataGridView Provides a powerful and flexible way to display data in a tabular format.
BindingSource Simplifies the process of binding controls to an underlying data source.
BindingNavigator Represents the navigation and manipulation user interface (UI) for controls on a form that are bound to data.

See also