NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlSelect.DataTextField

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);

Property Value

The field in the data source.

See Also

HtmlSelect Class | HtmlSelect Members | System.Web.UI.HtmlControls Namespace