| |
|
|
|
|
MultipleWildCard Property
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.
[C#]
public enuMultipleWildCard MultipleWildCard() {get; set;}
|
enuMultipleWildCard
enuMultipleWildCard.Asterisk
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*"
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" |
|
|
|
| |