W
Web Team @ Borough of Poole
Hi All,
When I run the below code, I get error 'Specified cast is not valid' on
line
163 Dim Address As OldInfra.BS7666.Address =
BS7666AddressCollection.GetSingleAddress(str_UPRN)
164 Dim easting As Integer = Address.Easting
165 Dim northing As Integer = Address.Northing
Address.Northing is an Integer in my class:
Me.Northing = CType(DR("Northing"), Integer)
Any advice anyone?
Thanks,
Simon.
When I run the below code, I get error 'Specified cast is not valid' on
line
163 Dim Address As OldInfra.BS7666.Address =
BS7666AddressCollection.GetSingleAddress(str_UPRN)
164 Dim easting As Integer = Address.Easting
165 Dim northing As Integer = Address.Northing
Address.Northing is an Integer in my class:
Me.Northing = CType(DR("Northing"), Integer)
Any advice anyone?
Thanks,
Simon.