DropDownListItemsCollection.Add

Adds a new item to the list

public DropDownListItem Add( string itemText,
	object itemValue );

Return Value

Reference to the created item

Parameters

itemText
Display text

itemValue
Underlying value


See also:

Class DropDownListItemsCollection


  Last Updated: 5/23/2007 | © , 2007