Updating xml c
If not, you have to find each and every page that references the connection string and update it accordingly.
The code to connect to the database, issue the command, and retrieve the results is handled internally by the Data Source control.
The first screen, shown below, prompts you to select the database from which the data will be queried.
The drop-down list lists existing connection strings defined in the , you have one place to update.
(True, you have to provide a connection string rather than simply the path to the file, but Visual Studio 2005 can automatically create appropriate connection strings for those databases residing in your folder.) In this article we'll examine the Sql Data Source in detail, just touching upon the one difference in the Access Data Source.
Furthermore, the Sql Data Source and Access Data Source controls can be used to both access and modify data; however, this article only examines accessing data.