Saturday, March 24, 2012

Text Search component

Can anyone recommend a good component For adding a search feature to a
website that will search the text in a database

Thanks in advance

JohnWhy can't you build it yourself?
It's very easy - but there are multiple considerations that a single
component could never narrow down...
First, you need to decide which field(s) you are searching. You can use a
DropDownList or TextBox

Then, you need to decide how you want to display the results. You could use
a Grid, or a customized way of displaying, say, like a DataList - -

The rest is just connecting to the dabase, querying the database and
retrieving the results, basically.

Is there something you're looking for that's different than what I've
described here?

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com
"John Haycock" <jhayc@.blueyonder.co.ukwrote in message
news:7rSRg.17359$aP3.3774@.fe3.news.blueyonder.co.u k...

Quote:

Originally Posted by

Can anyone recommend a good component For adding a search feature to a
website that will search the text in a database
>
Thanks in advance
>
John
>
>
>


"David Wier" <david_wier@.noSpamhotmail.comwrote in message
news:%23qPHQtM4GHA.1268@.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

Why can't you build it yourself?
It's very easy - but there are multiple considerations that a single
component could never narrow down...
First, you need to decide which field(s) you are searching. You can use a
DropDownList or TextBox
>
Then, you need to decide how you want to display the results. You could
use
a Grid, or a customized way of displaying, say, like a DataList - -
>
The rest is just connecting to the dabase, querying the database and
retrieving the results, basically.
>
Is there something you're looking for that's different than what I've
described here?
>
--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com
>


Hi David
Thanks for the help
I would want to be able to search the database for specific strings like you
do in a standard search engine so the user could search for exact string
matches or keywords.

I could set up most of what you have talked about but I imagine you would
need to use some advanced regular expressions and I wouldn't know where to
begin

John

0 comments:

Post a Comment