Bean Software Search Control Documentation   
 
 
     




MultipleWildCard Property


Description:
Use the multiple wild card to replace 0 or more characters in search term. Multiple wild card could be an asterisk (*), an percent (%) or both of them. Also you can turn off wild characters functionallity.

[Visual Basic .NET]

Public Property MultipleWildCard() As enuMultipleWildCard


[C#]

public enuMultipleWildCard MultipleWildCard() {get; set;}

Data type: enuMultipleWildCard

Default value: enuMultipleWildCard.Asterisk

Example:

Text property of Search Control is set to: "sea*". If MultipleWildCard property is set to enuMultipleWildCard.Asterisk, then SQL Query will return rows that contains words that starts with sea. If MultipleWildCard is set to enuMultipleWildCard.None, it will return only records with exact string "sea*"


More examples:

Text Property
MultipleWildCard
Returns rows:
apple%
None
that contains exact string "apple%"
apple*
AsteriskOrPercent
that contains any string that starts with "apple"
*apple or banana*
Asterisk
that contains words that ends with "apple" or starts with "banana"