Avatar of Mike_Stevens
Flag for United States of America asked on

Using ASP.NET membership in asp.net web application

I am working on a vb.net website that will be using asp.net membership to secure a secured area of the site.  Website users will need to create an user account and provide some personal information about themselves.   When the site user creates an account the personal information that provide in stored in a table named tblUser_Info and a user is created using .net membership in the table aspnet_membership.

When the acct is created the users email address is used as the user name for when they login and is stored as a string the the tblUser_info table and as a uniqueidentifier (by default) in the aspnet_membership table.

I would like to be able to query both tables by the user name by an having issues because of the username being stored as a string in one table and as a uniqueidentifier in the other.  

I am wondering if their is a better approach to this or is their a way to covert, parse, cast, etc either value during the query so that the correct data from both tables is returned?
ASP.NET.NET ProgrammingMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
Randy Downs

8/22/2022 - Mon
Randy Downs

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.