C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




How to navigate to Google website while clicking at the search button ?


Posted Date: 04 Aug 2008      Total Responses: 2

Posted By: Ambika       Member Level: Silver     Points: 1



Hi,

I developed one application,in that i have used search concept for that i have used textbox, asp.net buuton, after entering some text in the textbox and once u click the button the result should navigate it to the google website.

pls tell me





Responses

Author: Nagarajan    04 Aug 2008Member Level: GoldRating:     Points: 1

Just do a response.redirect to url

http://www.google.com/search?q=SearchString



Author: Gayathri    05 Aug 2008Member Level: SilverRating:     Points: 4

You can do as following:

string SearchString = txtSearchString.Text.Trim();
Response.Redirect("http://www.google.co.in/search?hl=en&q="+SearchString+")";

But without Internet Connection, the above code will not work.

All systems, in which you are going to deploy your application, need Internet connection.

Let me know if there is any alternate.



Post Reply
You must Sign In to post a response.
Next : how to retrieve and uplosd image from database
Previous : To Nagarajan
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use