原文地址:http://www.c-sharpcorner.com/UploadFile/mem_1910/1st08162006033511AM/1st.aspx
作者:
com.google.api.GoogleSearchService s = new TestGoogle.com.google.api.GoogleSearchService();
com.google.api.GoogleSearchResult r = s.doGoogleSearch("put your lisence key her ", Txt_Text.Text, 0, 10, false, "", true, "", "", "");
int estimatedCount =r.estimatedTotalResultsCount;

DataTable dtResults = new DataTable();
dtResults.Columns.Add(new DataColumn("Title", typeof(string)));
dtResults.Columns.Add(new DataColumn("Summary", typeof(string)));
dtResults.Columns.Add(new DataColumn("URL", typeof(string)));
for (int i = 0; i < 10; i++)
相关文章: