I'm binding a dropdownlist, but want to insert something at the top like -Select Item- . There must be a way to do this. Any info would help alot....thanks.
AFTER you bind, do this:<BR>myDropDownList.Items.Insert(0, new ListItem("--select something--", "0")); //where the first argument is the position and the second is a ListItem
I think I'll look at the classes from now on. It gives you suggestions for possible items. Anyways...I tried that,..saved it...built it....and then started without debugging....but get the same thing. It just won't insert a new ListItem.