private void BindAuthor(int id) { Author author = new Author(); author = author.BindAuthorByID(id); //Fill Text Boxes with the specified author's ID txtFirstName.Text = author.FirstName; txtLastName.Text = author.LastName; txtBiography.Text = author.Biography; //Set the dropdown list values ddlCountries.SelectedValue = author.Origin; ddlPhotos.SelectedValue = author.Photo; }