Search functionality in my website

Posted by Venkatesh under ASP.NET on 11/15/2012 | Points: 10 | Views : 1212 | Status : [Member] | Replies : 4
Hi Everyone,

In my website we are using bing search api functionality

URL:'http://api.search.live.net/json.aspx?JsonType=callback&JsonCallback=?&Appid=<My Appid>&query='+keyword+ '&sources=web

Now this url is not working. if anyone know this issue please reply me.

Thanks & Regards,
Venkatesh.P




Responses

Posted by: Deepraj on: 11/15/2012 [Member] Starter | Points: 25

Up
0
Down
Hi venkatesh,
You can have google search in your website instead of Bing by simple code like this.


string s1 = TextBox1.Text;

string s2 = s1.Replace(' ', '+').ToString(); ;
string s3 = "http://www.google.co.uk/search?hl=en&q=" + s2 + "&meta=";
Response.Redirect(s3);


Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/16/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
kindly let me know one thing
you are using bing api to search with in your website or in the bing and please post your sample code

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 11/30/2012 [Member] Starter | Points: 25

Up
0
Down
Use select command with like clause to make it live

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Venkatesh on: 11/30/2012 [Member] Starter | Points: 25

Up
0
Down
I am using bing api searh

URL:URL:'http://api.search.live.net/json.aspx?JsonType=callback&JsonCallback=?&Appid=<My Appid>&query='+keyword+ '&sources=web

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response