Bagikan melalui


Data Source Login Dialog Box

Allows you to request access to a data source (typically a database) for which you have not already been authenticated. This situation can occur if you are working with an existing project, but have not yet logged into the database that your application is attempting to access, or if you chose not to save a password when creating a connection. For more information about creating connections and establishing authentication, see How to: Add New Data Connections in Server Explorer/Database Explorer.

UI Elements

After you have been authenticated, the authentication information is stored for the duration of your Visual Studio session.

Note

The Data Source Login dialog box might appear more than once. If you are working with connection objects on a form or component, you must provide authentication information for the connection that is used to populate Server Explorer, and authenticate yourself again for the connection objects on the form.

  • User
    Enter the name of a user who has authorization to access the data source.

  • Password
    Enter the user's password.

See Also

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

Data Resources