Tutorial: How to add advanced
searching features to your
ASP.NET web site, Win32 or
.NET application
Bean Software Search Control is R.A.D tool and it is very simple for
use. You need just one minute to implement advanced search features like
boolean search, any word, all word or phrase searching.
To implement Bean Software Search Control,
you need to follow these few steps:
-
Add control to the Visual
Studio Toolbox
-
Drag control from
the Toolbox to web form or
-
Set properties to adequate values (details about every
single property you can find on
Help).
-
Add Button Control and set it Caption to
"Search"
-
On Click event of that Command Button add code
for connecting to database and add folowing code for SELECT query:
SQLQuery = "SELECT SearchField1, SearchField2 FROM MyTable WHERE" +
SearchControl1.getWhereClause
And that is all, enjoy in
new searching features of your
Web or Windows application! If you experience any
problem with some of this steps, please
contact us .
|