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.
Home / DeveloperSection / Forums / how to achieve similar Google search bar functionality in C #
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.
Kenny Tangnde
04-Oct-2011Anonymous User
04-Oct-2011Hi 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
04-Oct-2011Hi 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.
Anonymous User
03-Oct-2011Hi 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.
Chris Anderson
03-Oct-2011I 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.
Kenny Tangnde
03-Oct-2011hi 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.
Kenny Tangnde
03-Oct-2011Hi 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.
Chris Anderson
03-Oct-2011Check this link http://www.codeproject.com/KB/aspnet/Search_SuggestTextBox.aspx
I think this will help you.