Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
143
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

DropDownList

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 DropDownList’s 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 DropDownList’s 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