0

Hi..

I am working on an project(asp.net C#) where i need to implement search within the website where i would like too retrieve the search results based on their links..

Can anyone help me??

3
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by mani-hellboy
0

i needed it in c# and is there any other way than this..

Edited by bhagyap: n/a

0

For dynamic content, pages might be stored in database, so that is not a big task, what you can do is to enable the full text search in database for more flexibale search operation, please read the following article about full text search:

http://msdn.microsoft.com/en-us/library/ms142571.aspx

You can write stored procedure that search within your column in your database where page's content are stored. In application level, you can have search page where you can put any control e.g. Repeater or List to bind the search result. There are many tutorial available on net and you can google it easily.

Since this is basic coding task, I can only give you idea and don't want to give the exact code.

-1

Hey dude !

If you done SEO for your site save that meta data to your own table in database when user search keyword in search control you search that meta data (use %like% in query)and take the corresponding page name show those result in hyperlink which link user need user can click it.

Note: If you don`t have database connection then place all metadata and corresponding page link when search load xml to data table and use LINQ to search keyword show result as mentioned above

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.