When dealing with real projects, often your data is not located in single database. You might need to connect to multiple databases or import those pieces of data into a single database in order to access. In this section, we will bring a second geodatabase, which contains the regions, connect to it from code, and retrieve the results to populate it in our form.
The regions feature class is located in another geodatabase that we have just added in this chapter. To prepare that feature class for access, follow these steps:
Copy the entire
bestaurants
folder in the supporting files for this chapter,B04847_07_Files\bestaurants\
to theC:\ArcGISByExample\
.From the Start menu, run ArcCatalog.
Connect to the
C:\ArcGISByExample\
folder and browse toC:\ArcGISbyExample\Data\bestaurants\Belize_Regions.gdb
.Preview the
Regions
feature class in table view, as shown in the following screenshot. Note that we have seven regions named A to G. The...