The data returned for SELECT elements is of the form

CopyC#
selected-index: selected-option-value

This method can be used to retrieve the selected index from the data.

Namespace: Jaxcent.Web
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public int GetSelectedIndex(
	string selectedData
)
Public Function GetSelectedIndex ( _
	selectedData As String _
) As Integer
public:
int GetSelectedIndex(
	String^ selectedData
)

Parameters

selectedData
String
Data retrieved from Form

Return Value

Index selected

See Also