Select list

Helo, I want to create a select list that will switch between types of data from the database. Basically, the select list will have few options that I want them to serve as a condition in the sql statement. My question is how can I pass selected value from the list into the controller and keep that value selected? THanks