System.Web.UI.HtmlControls Namespace HtmlSelect Class
Initializes a new instance of an HtmlSelect class.
[ VB ]
Public Sub New ( )
[ C# ]
public HtmlSelect ( );
[ C++ ]
public: HtmlSelect ( );
[ JScript ]
public function HtmlSelect ( );
Use this constructor to create and initialize a new instance of the HtmlSelect control.
This constructor sets the initial TagName property value to select.
The below code shows how to create a new instance of an HtmlSelect class.
HtmlSelect mySelect = new HtmlSelect ( );
Dim mySelect As New HtmlSelect ( ) |
|
C# |
VB |
HtmlSelect Members