HtmlInputText::Value Property
.NET Framework (current version)
Gets or sets the contents of the text box.
Assembly: System.Web (in System.Web.dll)
public: property String^ Value { virtual String^ get() override; virtual void set(String^ value) override; }
Property Value
Type: System::String^The text contained in the text box. The default is an empty string ("").
Use the Value property to programmatically determine the text entered by the user into the text box. You can also use this property to provide default text for the text box.
Note |
|---|
If you specify a value for a password type HtmlInputText control, that value is not displayed in the text box. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
