Walkthrough: Using a Configuration File to Define a Data Source
This walkthrough illustrates how to use a data source defined in an app.config file for unit testing. You will learn how to create an app.config file that defines a data source that can be used by the DataSourceAttribute class.
msdn.microsoft.com |