Google Api's error - Urgent

A

Anuradha

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,true, "", 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top