DataListFindString(String, String) Method

Finds the first item whose given member starts with the given string. The search is not case-sensitive.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public int FindString(
	string member,
	string key
)

Parameters

member  String
The member in the data source to search for the string value
key  String
The string for which to search

Return Value

Int32
The zero-based index of the found item or -1 if not found

Exceptions

ArgumentNullExceptionThis is thrown if the member name or the item to find is null.
ArgumentOutOfRangeExceptionThis is thrown if specified member could not be found in the data source.

See Also