Return to Snippet

Revision: 35162
at November 12, 2010 07:55 by housecor


Updated Code
ddMyDropdown.Items.Insert(0, "Select a Title");

//or, to set value explicitly to null:
ddAffiliation.Items.Insert(0, new ListItem("Select Affiliation", null));

Revision: 35161
at November 3, 2010 13:28 by housecor


Initial Code
ddMyDropdown.Items.Insert(0, "Select a Title");

Initial URL

                                

Initial Description

                                

Initial Title
Add default value for dropdownlist

Initial Tags

                                

Initial Language
C#