The dam you were thinking was Cascade Locks is actually the Bonneville Dam, the Cascade Locks was a lock system that was used to bypass a set of rapids in the river, which were eliminated by that dam. The upper part of the old Cascade Locks is a park now that you can visit.