Data Sources
When selecting data source for the web part there are two choices:
- Create and/or select a data source locally on the client machine. See Locally defined data sources for how to select and create local data sources.
- Select defined data sources stored on the SharePoint server. See Server defined data sources for how to configure data sources in the web.config file.
The first method is simple and easy to use, but all parameters will be stored in each web part.
The second method gives more flexibility and makes it more easy to move a site from one server to another.
In a real implementation it is strongly recommended to use Server defined data sources.