G
Guest
I have a list box that I am populating with a dataset.
It looks like
********
* Ted *
* Sam *
* Lori *
These values come from a table, used a stored procedure to fill a dataset.
I wanted to have a default text display like select..or even just blank to come up in the page load event. I tried using a select index of -1 but it just displayed the first index value from the dataset. An index of -2 creates a runetime error. I did not want to add a select.. string into the table that gets loaded in. I also have a clear button on the page and need to clear the listbox selection here as well.
Thanks Paul.
It looks like
********
* Ted *
* Sam *
* Lori *
These values come from a table, used a stored procedure to fill a dataset.
I wanted to have a default text display like select..or even just blank to come up in the page load event. I tried using a select index of -1 but it just displayed the first index value from the dataset. An index of -2 creates a runetime error. I did not want to add a select.. string into the table that gets loaded in. I also have a clear button on the page and need to clear the listbox selection here as well.
Thanks Paul.