473,511 Members | 16,776 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,,

GoogleSearchService search=new GoogleSearchService();
GoogleSearchResult result;
string k="9dVAI55QFHLZLJSB/VlbpasPtY+z64wT";
int i=Convert.ToInt32(ViewState["startIndex"]);
result = search.doGoogleSearch(k,"searchTerms.Text",i,10,tr ue, "", true,
"", "", "");
dlResults.DataSource = result.resultElements;
dlResults.DataBind();

And

<ItemTemplate>
<span style="font-size:15pt;font-weight:bold;">
<%# Container.DataItem.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 898
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.DataItem, "PropertyName")

HTH
Kalpesh

May 30 '06 #2

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

Similar topics

2
2441
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...
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...
4
1362
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...
1
1358
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...
0
1199
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,...
0
857
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;...
2
2017
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...
0
1056
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...
3
2476
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...
0
7242
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,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7510
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...
0
4737
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...
0
3225
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...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1576
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 ...
0
447
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...

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.