Udostępnij za pośrednictwem


Data Smart Tags

Smart tags specific to working with data are available on controls that are currently bound to data. More specifically, once a control is data-bound, a set of possible actions relating to data are available on its smart tag. These actions assist you in developing Windows-based applications that work with data. The data smart tag is available on all data-bound Windows Forms controls.

The smart tag offers the following actions:

  • Add Query: Adds controls for users to input parameters.

  • Preview Data: Opens the Preview Data dialog box, which enables you to preview data returned by the TableAdapter queries in your project.

Add Query

Selecting this option opens the Search Criteria Builder Dialog Box where you can add parameterization to existing data-bound forms. A parameterized form displays data that meets the conditions of a WHERE clause within the query, which means that the data is filtered to meet a certain criteria. For more information, see Search Criteria Builder Dialog Box.

Preview Data

Selecting this option opens the Preview Data dialog box, which enables you to preview data returned by the queries in your data source. For more information, see Preview Data Dialog Box.

See Also

Concepts

What's New in Data

Other Resources

Getting Started with Data Access

Connecting to Data in Visual Studio

Preparing Your Application to Receive Data

Fetching Data into Your Application

Displaying Data on Forms in Windows Applications

Editing Data in Your Application

Validating Data

Saving Data