Google Api's Error

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:10pt;font-Normal;"><a href="">
<%#DataBinder.Eval(Container.DataItem,"title" )%>
</a></span>


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,825
Latest member
VernonQuy6

Latest Threads

Top