Great work on the citystatefinder from what I can tell it
will be extremely useful
I have your module working in the sample docs on our server
but am trying to implement it on another page and am getting the following
error I was wondering if you have anyideas
Compiler
Error Message: BC30112:
'CityStateFinder' is a namespace, and so is not a valid expression.
Line 6: Dim locations() as CityStateLocations = CityStateFinder("28412", True)
Here is the code I am using
It seems simple enough and should be working I got it from
the readme file
<%@ Import Namespace="System.Web.UI" %>
<%@ Import Namespace="AssistedSolutions.WebControls.CityStateFinder"
%>
<script language="VB"
runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim i as integer
Dim locations() as CityStateLocations = CityStateFinder("28412",
True)
For i
= 0 To locations.length - 1
response.write(locations(i).StateName)
'do something with locations(i).Rank
'do something with locations(i).Quality
Next
end sub
</script>