Last post Feb 19, 2013 10:46 PM by ToughMan
Feb 12, 2013 02:34 PM|Benyamin84|LINK
Im working on a E-commerce site and i'm experiencing some issues.
From the admin panel I'm able to get all users that is in the database but pulling out their information is something i cant do.
cause the data looks like this (PostalCode:S:0:6:DayPhone:S:6:3:FirstName:S:9:8:City:S:17:5:ShippingRegion:S:22:1:Region:S:23:5:Address2:S:28:5:Address1:S:33:19:EvePhone:S:52:3:MobPhone:S:55:3:Country:S:58:7:LastName:S:65:5:)
I have also taken the class i use for the users that wants to edit their own profile:
ProfileCommon profile = HttpContext.Current.Profile as ProfileCommon;
firstName = profile.FirstName;
lastName = profile.LastName;
address1 = profile.Address1;
address2 = profile.Address2;
city = profile.City;
region = profile.Region;
postalCode = profile.PostalCode;
country = profile.Country;
(profile.ShippingRegion == null
|| profile.ShippingRegion == ""
? "1" : profile.ShippingRegion);
dayPhone = profile.DayPhone;
evePhone = profile.EvePhone;
mobPhone = profile.MobPhone;
email = Membership.GetUser(profile.UserName).Email;
But this is only for the logged in user only.
Is there anyone that can help me with this please
Many thanks in advance
Feb 19, 2013 10:46 PM|ToughMan|LINK
Is it serialized?
Plz try to seperate with ":".