L
Lauchlan M
Hi
I have a drop down list, populated from a dataset from a table in a
database.
Say the table was called Locations with fields LocationName and LocationID,
and I was using LocationName for the drop down text and LocationID for the
drop down value.
Now I could select Locations with my drop down list. But suppose I wanted
additional items in the drop down list, such as 'All locations' or 'None',
but I didn't want to store these in my database table (these are not real
locations after all!). I still want my list to be databound but want to be
able to add an item before the databinding and an item after the
databinding.
How do I do that?
Thanks!
Lauchlan M
I have a drop down list, populated from a dataset from a table in a
database.
Say the table was called Locations with fields LocationName and LocationID,
and I was using LocationName for the drop down text and LocationID for the
drop down value.
Now I could select Locations with my drop down list. But suppose I wanted
additional items in the drop down list, such as 'All locations' or 'None',
but I didn't want to store these in my database table (these are not real
locations after all!). I still want my list to be databound but want to be
able to add an item before the databinding and an item after the
databinding.
How do I do that?
Thanks!
Lauchlan M