Hi
I'd appreciate help on what should be very simple, but doesn't seem to be in Visual Studio 2005.
I have a dropdownlist which is bound directly to a SQLDataSource.
I need to have initial text, to ensure that the indexChanged event fires when any of the options is selected.
How can I do this in VS05? If I set the index to -1 it is ignored. If I set the text to "" the applcation falls over, as this does not correspond to and of the datasource items.
I cannot add an item to the dataset table, as it is a direct bind, with no dataset and no tables, and I can't add an empty record to all of my database tables.
HELP!
Niki
I'd appreciate help on what should be very simple, but doesn't seem to be in Visual Studio 2005.
I have a dropdownlist which is bound directly to a SQLDataSource.
I need to have initial text, to ensure that the indexChanged event fires when any of the options is selected.
How can I do this in VS05? If I set the index to -1 it is ignored. If I set the text to "" the applcation falls over, as this does not correspond to and of the datasource items.
I cannot add an item to the dataset table, as it is a direct bind, with no dataset and no tables, and I can't add an empty record to all of my database tables.
HELP!
Niki