Author: Disasterke | Posted on: 12/3/2008 7:52:34 AM | Views : 456

 Hi,
For a school project I'm creating the contactpage of a website using the Google Maps API.
Now I want to mark the location of the company and the location of the logged in user. so I can highlight the route from their home to the , in this case, the theatre.
 We used the standard server control to create the login procedure and linked those table with a customer table with additional info (Address, town..) so now I need to get output from the table customers that gives me its address. To find the unique user id i found this:
Dim m As New MembershipUser
m = Membership.GetUser()
Now I want to use an sqlstring to get the output I want. Something like this:

Dim selectSql As String = "select * from tblcustomer where CustID=" & m
Operator & is not defined for the type String & system.web.security.MembershipUser
My question: How to fix this or is there another way around? ...

Go to the complete details ...