473,587 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Google Search Api's error

Hi all,
I have downloaded the google Api's and also got a license Key...
I had written the following code,,

GoogleSearchSer vice search=new GoogleSearchSer vice();
GoogleSearchRes ult result;
string k="9dVAI55QFHLZ LJSB/VlbpasPtY+z64wT ";
int i=Convert.ToInt 32(ViewState["startIndex "]);
result = search.doGoogle Search(k,"searc hTerms.Text",i, 10,true, "", true,
"", "", "");
dlResults.DataS ource = result.resultEl ements;
dlResults.DataB ind();

And

<ItemTemplate >
<span style="font-size:15pt;font-weight:bold;">
<%# Container.DataI tem.title %>
</span><br />
I have also added the reference for webservice.Can any one suggestme to
solve this error.

The error is............
DataBinder.Eval : 'ResultElement' does not contain a property with the name
title.
Thanks N Regards,
Anuradha.
May 30 '06 #1
1 903
Please have a look at regular asp.net pages that uses datagrid,
repeater etc
I have seen those pages using following syntax

DataBinder.Eval (Container.Data Item, "PropertyNa me")

HTH
Kalpesh

May 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2448
by: jase | last post by:
I have put together the Google Web API with PHP, as described in O'Reilly's Google Hacks (Hack#55). However, the API only allows you to return 10 results. Hack #51 shows how to Loop around the 10-result limit but only describes how to do this in Perl. Anybody have this book or know how I can get around this. http://sundaystroll.com
0
223
by: Pedro Cardoso | last post by:
i have been using google web service and since about a month ago i am unable to access it anymore the error messaqge it returns is: System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'. The request failed with the error message: -- <HTML><HEAD><META HTTP-EQUIV="REFRESH" CONTENT="0"...
4
1363
by: Frank Potter | last post by:
I want to search something by a key word from inside my py script. The using google idea comes to my mind first because write a search programme from scratch is not so easy. I want to take advantage of goolge results, but I don't know how. To extract the result from html of google can get the result, but it's not reliable and stable because...
1
1362
by: Gabriel B. | last post by:
the google webservices (aka google API) is not even close for any kind of real use yet if you search for the same term 10 times, you get 3 mixed totals. 2 mixed result order. and one or two "502 bad gateway" i did an extensive match agains the API and the regular search service. the most average set of results: results 1-10; total:...
0
1204
by: botch | last post by:
Hi! I'm trying to get some help implementing a classic ASP version of the Google API search (http://www.google.com/apis/). I've got a version that works, but it's very sporadic. Sometimes it works, sometimes it comes back blank, sometimes it gives an error. No other ASP version of this API has any problems. Dim Google_Web_APIs_license_key,...
0
861
by: Anuradha | last post by:
Hi all, I have downloaded the google Api's and also got a license Key... I had written the following code,, GoogleSearchService search=new GoogleSearchService(); GoogleSearchResult result; string k="9dVAI55QFHLZLJSB/VlbpasPtY+z64wT"; int i=Convert.ToInt32(ViewState); result = search.doGoogleSearch(k,"searchTerms.Text",i,10,true, "", true,...
2
2024
by: gen_tricomi | last post by:
THE IMPORTANCE OF MAKING THE GOOGLE INDEX DOWNLOADABLE I write here to make a request on behalf of all the programmers on earth who have been or are intending to use the Google web search API for either research purposes or for the development of real world applications, that Google make their indexes downloadable. Currently...
0
1061
by: kdsutaia | last post by:
Hi! Everyone, In my project i need to enter query on commond line and program should go to google and get googled output source file. can anyone give some idea how do i implement this ? i know i can use Google search API but i need a output of define functionality of google. exp: query define:HP it will return all definations of HP if we...
3
2480
by: boris | last post by:
i am not able to understand how can i create google desktop api using only C and C++.should i also need to learn other languages or knowledge of my favourite c++ will do.I am confused.If it's possible to create with only C++ then plz describe how!
0
7920
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8347
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.