a. Click the DataService project in the Visual Studio solution
to make sure it is selected.
b. From the Visual Studio 'Data' menu select 'Add New Data
Source...'
c. The 'Data Source Configuration Wizard' window will open.
d. In the 'Where will the application get its data from?'
section of the window click 'Database'.

e. Click the 'Next' button.
f. The 'Choose Your Data Connection' step window of the wizard
will open.

g. Click the 'New Connection' button.
h. The 'Add Connection' window will open.

i. Make sure the 'Data Source' label reads 'Microsoft Access
Database File (OLE DB)'.
(1) If it doesn't click the 'Change...' button.
(2) The 'Change Database' window will open.
(3) Double-click 'Microsoft Access Database' in the 'Data
source:' section of the window.
j. Click the 'Browse...' button.
k. The 'Select Microsoft Access Database File' dialog will
open. Navigate to an Access Database (.mdb) file.

l. Double-click the file. You are returned to the 'Add
Connection' window.
m. Click the 'Test Connection' button.
n. If the test is successful, click the 'OK' button.
Otherwise, backup and try again.
o. You will be returned to the 'Choose Your Data Connection'
step window of the wizard.
p. Click the 'Next...' button.
q. A dialog box will open. The dialog asks if you want to
add a copy of the database to the project.

r. Click the 'Yes' button.
s. The 'Save Connection String to the Application
Configuration File' step window of the wizard opens.

t. Click the 'Next...' button.
u. The 'Choose Your Database Objects' step window of the
wizard opens.

v. In the "Which database objects do you want in your
dataset?' section use the tree view control to make the tables
in the DataSource you wish to included in the dataset.
w. Click the 'Finish...' button.
x. A copy of the Access database you selected and a DataSet
are added to the DataService project.

y. Right-click the database and select 'Properties'.
z. The 'Properties' panel will open. In the Properties panel
set the 'Copy to Output Directory' property to 'Copy if newer'.
This will ensure that changes are reflected in the database as
you program and debug your application. If you leave the
default setting 'Copy always' a fresh copy of the database will
be copied to the Bin directory each time you execute the
application and you will not see changes in the database made
before the current run.

NOTE: If your application
will use more than one Access database, repeat the process of
adding a DataSource for each Access database. Additional
databases can be added as your application's data needs expand.
In the example solution two Access database data sources have
been added.