Home > DeveloperSection > Forums > how to achieve similar Google search bar functionality in C #
Kenny Tangnde

Total Post:68

Points:476
Posted on    October-02-2011 12:24 AM

 C# C# 
Ratings:


 8 Reply(s)
 1845  View(s)
Rate this:

Hi all,

   how to achieve similar Google search bar functionality   in C #,and Included in the search bar displays the first ten results.

If you click the corresponding results and the implementation of the corresponding event.

thanks in advance.

 

 



Chris Anderson
Chris Anderson

Total Post:65

Points:455
Posted on    October-03-2011 3:27 AM

Hello aken,

Check this link http://www.codeproject.com/KB/aspnet/Search_SuggestTextBox.aspx
I think this will help you.

Modified On Oct-03-2011 07:39:04 AM

Kenny Tangnde

Total Post:68

Points:476
Posted on    October-03-2011 6:41 AM

Hi Rohit Kesharwani,

thanks for your help.

There is also a problem:How use relative path in C#.

con = new OleDbConnection(@"provider=microsoft.jet.oledb.4.0;data scource=C:\MyProject\Product.mdb");

Now, I want to change the path to relative path,In order to the client correctly use.

thanks very much.

 


Kenny Tangnde

Total Post:68

Points:476
Posted on    October-03-2011 6:46 AM

hi Rohit,

  you provide the address,The following error occurred:

Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /KB/aspnet/Search_SuggestTextBox.aspx.

 

thanks.


Chris Anderson
Chris Anderson

Total Post:65

Points:455
Posted on    October-03-2011 7:42 AM

Hi aken,

I had put the dot after the url that's why this type of error occured.Check by removing dot or check this

http://www.codeproject.com/KB/aspnet/Search_SuggestTextBox.aspx

Thanks.

Awadhendra Tiwari

Total Post:126

Points:882
Posted on    October-03-2011 7:56 AM


Kenny Tangnde

Total Post:68

Points:476
Posted on    October-04-2011 1:36 AM

Hi all,

Perhaps my question is not detailed enough, I want to achieve when the user in text  input data,in the database to retrieve the value of the text box(contain to retrieve the value of the text box ).

Thanks.


Awadhendra Tiwari

Total Post:126

Points:882
Posted on    October-04-2011 6:38 AM

Hi Aken,

Could you please clear one more thing that you want to perform it in windows application or in web application?


Well if you want to perform it in windows application then you need to write some code on textchange event of textbox control or better you can use combobox also.

or if you want to perform it in webapplication then you need to follow concept of ajax.

 

Thanks.


Kenny Tangnde

Total Post:68

Points:476
Posted on    October-04-2011 7:10 AM

Thank you for your help.

Don't want to miss updates? Please click the below button!

Follow MindStick