PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Finds a single row and returns the row number (-1 if not found).

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsExtensionMethod = true)]
public static <int> FindOne(
	 context,
	 dataTable,
	string expression
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsExtensionMethod := True)> _
Public Shared Function FindOne ( _
	context As , _
	dataTable As , _
	expression As  _
) As (Of Integer)

Parameters

context
IRenderContext
dataTable
SXMLDataTable
The data table.
expression
String
The expression.

Return Value

The row number.

See Also

Advanced