HollywoodKY
Jan 16th, 2004, 02:15 PM
Here's the problem, I have a drop down list on a page. It is currently filled on load/postback with a LastName field from an Access database. I have two questions:
1. I have some duplicate last names (Smith, Jones, etc.) so there is no way to tell which record I am selecting. Is there a way to fill the dropdown list with TWO fields (LastName, FirstName)?
2. Last, when my page postsback, the dropdown list goes back to the original name it loads with (in this case "Adams"). If I select ("Smith"), the autopostback fires and the correct data fills the textboxes, but now the dropdownlist shows "Adams". I would like to know if there is a way to make it stay on "Smith".
Thanks as always, I'm sure this is something fairly simple but I don't know where to begin searching.
HWOODKY
:)
1. I have some duplicate last names (Smith, Jones, etc.) so there is no way to tell which record I am selecting. Is there a way to fill the dropdown list with TWO fields (LastName, FirstName)?
2. Last, when my page postsback, the dropdown list goes back to the original name it loads with (in this case "Adams"). If I select ("Smith"), the autopostback fires and the correct data fills the textboxes, but now the dropdownlist shows "Adams". I would like to know if there is a way to make it stay on "Smith".
Thanks as always, I'm sure this is something fairly simple but I don't know where to begin searching.
HWOODKY
:)