| |
|
|
|
|
SearchColumns Property
Represents a collection of your data table columns that you want to search. You need to add at least one string in this collection to get a valid SQL query when you call getWhereClause method. If there is no search columns, you will get an error message.
[Visual Basic .NET]
Public Property SearchColumns() As ArrayList
|
[C#]
public ArrayList SearchColumns() {get; set;}
|
ArrayList
empty ArrayList
Let say you have a number of columns in your SQL query that you will show to your users. You need in two columns, named Title and Description to enable searching. You can add strings "Title" and "Description" to SearchColumns in design mode or use AddSearchColumn method at run time.
|
|
|
| |