| Submitted On |
September 01, 2002 |
| Updated on |
July 25, 2007 |
| .NET Framework |
1.x |
| Cost |
$ 0 |
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("Properties").Rows(0).Item("SitesFound")
SitesFound.Text = TotalSites.ToString()
if Listings.Tables(0).DefaultView.Count = 0 Then
searchwindow.Visible = False
Message.Text = "No Listings found."
Else
searchwindow.Visible = True
Message.Text = ""
DataGrid1.DataSource = Listings.Tables(0).DefaultView
DataGrid1.DataBind()
End If
Reviews
Submit a review