A simple, DB-Powered drop down
DropDown is a simple dropdown list that is loaded for you. One of the simplest things to do! If you want a select list of categories, you simply use:
<subsonic:DropDown tableName="Categories" id=elThing runat=server>
With this command SubSonic will query ONLY TWO FIELDS in the Categories table - the primary key and the field in ordinal position 1 (which by our convention should be the descriptor). If you don't like that, you can override what we think and specify "textField=thisOtherColumnName". The point is we don't "SELECT *".
You can also do these things:
Override the prompt text: prompText="--Hi there!--". Our default is "--Please Select--"
Disable a prompt: showPrompt="False". Default is True.
