DropDownList
Properties
AutoPostBack
automatically posts the form containing the
DropDownList whenever the selection in the list is
changed
DataMember
represents the particular table within the data source
DataSource
represents the actual data source to use when binding
to a DropDownList
DataTextField
represents the field within the data source to use with
the DropDownLists text label
DataTextFormatString
specifies a format string that determines how the
DropDownList is displayed
DataValueField
represents the field within the data source to use with
the DropDownLists value
Items
the collection of items within the DropDownList
SelectedIndex
represents the index selected within the DropDownList
SelectedItem
represents the item selected within the DropDownList
Events
SelectedIndexChanged
raised when an item within the DropDownList is selec-
ted
FileUpload
Properties
FileBytes
returns the contents of the uploaded file as an array
of bytes
FileContent
returns the contents of the uploaded file as a stream
619
DropDownList

Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.