Bean Software Search Control Documentation   
 
 
     




WhatColumns Property


Description:
Represents a boolean operator used if SearchColumns property contains more than one column. If this property is set to AnyColumn, control will return rows that contains search terms in any of the search columns. If WhatColumns is set to AllColumns, control will return only rows that contains search terms in every search column.

[Visual Basic .NET]

Public Property WhatColumns() As enuWhatColumns


[C#]

public enuWhatColumns WhatColumns() {get; set;}

Data type: enuWhatColumns

Default value: enuWhatColumns.AnyColumn

Example: Text property is set to "apple" and there are two search columns: Title and Description. WhatColumns is set to enuWhatColumns.AnyColumn. SQL query will return results where the column Title or column Description contains word "apple". If WhatColumns changes to enuWhatColumns.AllColumns, SQL query will return only rows that contains word "apple" both Title and Description columns.