Bagikan melalui


Data Smart Tags

At design time, all Windows Forms controls have a smart tag that lists actions that are related to the control. After a Windows Forms control is bound to data, the following actions relating to data are added to its smart tag:

  • 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 Application Development

Preparing Your Application to Receive Data

Fetching Data into Your Application

Binding Controls to Data in Visual Studio

Editing Data in Your Application

Validating Data

Saving Data

Other Resources

Overview of Data Applications in Visual Studio

Connecting to Data in Visual Studio