I have a datagrid which lists people in my database. The datagrid has a Select button on each row. If you click the Select button, you are re-directed to a new web page which displays all the information on the selected person which you can edit. All this is working (thanks to MarkJ).
Here is my problem: I want to use a drop-down list instead of a text box for some of my input controls on my edit page. When I load my Edit page which just shows one person’s data, how do I get the drop-down list’s default selected item to be the same as what is have stored in the database for that person? For instance, Mr. Bloggs is in the “Great” category in the database. When I open his record on my edit page, how do I get “Great” to show in my Category drop-down list?