HomeCommunityControl GalleryMiscellaneousSearchActive Web Search

Active Web Search



Submit a Review

1,767 Downloads

25,995 Views


Description

Add an instant search engine to your website. This is a web service that gets search results from the Open Directory Project. The results are in XML format which you can use in your ASP.NET application. The demo is limited 1000 searches. The Web Service Source Code is also availalble,<a href="http://www.activewebsoftwares.com/activewebsearch">Click Here to view an online demo.</a>

Syntax Example

Dim ListingsDB As New Websearch() Dim Listings As DataSet = ListingsDB.SearchtheWeb(Search.Text, CInt(PageCtr.Text)) Dim TotalSites = Listings.Tables(&quot;Properties&quot;).Rows(0).Item(&quot;SitesFound&quot;) SitesFound.Text = TotalSites.ToString() if Listings.Tables(0).DefaultView.Count = 0 Then searchwindow.Visible = False Message.Text = &quot;No Listings found.&quot; Else searchwindow.Visible = True Message.Text = &quot;&quot; DataGrid1.DataSource = Listings.Tables(0).DefaultView DataGrid1.DataBind() End If

Reviews

Submit a review