Gets or sets the field in the data source that provides the text for an option entry in the HtmlSelect control.
[Visual Basic] Overridable Public Property DataTextField As String [C#] public string DataTextField {virtual get; virtual set;} [C++] public: __property virtual String* get_DataTextField(); public: __property virtual void set_DataTextField(String*); [JScript] public function get DataTextField() : String; public function set DataTextField(String);
The field in the data source.
HtmlSelect Class | HtmlSelect Members | System.Web.UI.HtmlControls Namespace