Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
ASP.NET: Insert a ListItem into a DropDownList
From Wiki
Summary: Add a default item to a DropDownList so it is the first item in the list.
- MyDropDownList.Items.Insert(0,"Select From List...")
NOTE: This should be called after the DataBind method of the DropDownList has been called.
This Hack is part of the ASP.NET Hacks collection



LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.