About
Digital Colony is the technical web site for Michael Allen Smith of Seattle.
Tag Archives: DropDownList
Bind Generic List to ASP.NET DropDownList Example
Let us suppose you had a simple class of tags that you wanted to bind to an ASP.NET DropDownList control. public class TagDetails { private int tagID; public int TagID { get { return tagID; } } private string tagName; … Continue reading
Add Item to DropDownList After DataBind
We often want the first option in a drop-down list to not default to the first item in the list. Instead we would prefer the option of adding a –Select Item– at the top of the asp:DropDownList. After the DataBind, … Continue reading
