HOW TO ACHIEVE SIMILAR GOOGLE SEARCH BAR FUNCTIONALITY IN C #

Kenny Tangnde

Total Post:68

Points:476
Posted by  Kenny Tangnde
C# 
C#
 2105  View(s)
Ratings:
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.

 

 

  1. Chris Anderson

    Post:65

    Points:455
    Re: how to achieve similar Google search bar functionality in C #

    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
  1. Kenny Tangnde

    Post:68

    Points:476
    Re: how to achieve similar Google search bar functionality in C #

    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.

     

  1. Kenny Tangnde

    Post:68

    Points:476
    Re: how to achieve similar Google search bar functionality in C #

    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.

  1. Chris Anderson

    Post:65

    Points:455
    Re: how to achieve similar Google search bar functionality in C #

    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.

  1. Awadhendra Tiwari

    Post:126

    Points:882
    Re: how to achieve similar Google search bar functionality in C #

    Hi Aken,

    Maybe I did not understand your question properly. But whatever I understand, you want to display top 10 result from google search in your application. For performing this task I am giving some links to you which might be useful for you.

    http://answers.oreilly.com/topic/2165-how-to-search-google-and-bing-in-c/

     

    http://msdn.microsoft.com/en-us/library/system.net.webclient%28VS.80%29.aspx

     

    Thanks.

  1. Kenny Tangnde

    Post:68

    Points:476
    Re: how to achieve similar Google search bar functionality in C #

    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.

  1. Awadhendra Tiwari

    Post:126

    Points:882
    Re: how to achieve similar Google search bar functionality in C #

    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.

  1. Kenny Tangnde

    Post:68

    Points:476
    Re: how to achieve similar Google search bar functionality in C #

    Thank you for your help.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!