5. From the PhotoAlbums folder, open Default.aspx and switch to its Code Behind.
6. At the top of the fi le, add an Imports/using statement for the PlanetWroxModel namespace, and then extend the DataBound event handler with the following code that shows the Edit link when the current user is either a Manager or the owner of the photo album: