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.
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.