Working with a 2 column Dropdown - 07-28-2006 , 04:29 AM
I know how to fill a dropdown list and use it's selected value as a parameter.
How can I setup 2 columns, hide one column but use the hidden column (a key)
as the parameter
Prov, ProvID (hidden column)
Re: Working with a 2 column Dropdown - 09-11-2006 , 06:57 AM
You can set the DataValueField and DataTextField properties to match the
properties you want set from the datasource. In this case, the hidden
parameter is the DataValueField. To get it back from the DropDownList after
a PostBack you get SelectedValue. It does work like a GridView where you do
have to hide the key fields to use them as parameters.
"jonefer" <jonefer (AT) discussions (DOT) microsoft.com> wrote
|Thread Tools||Search this Thread|