Storing profile information for asp.net users in separate columns instead of 1 long column?
Whe开发者_开发技巧n you create profile information for an asp.net user, it creates all the property values in 1 field. This is not the easiest thing to query. Is there a way to tell it to store the values in separate columns like Address, City, State, Zipcode instead of a column called PropertyStringValues where the value might be something like City:s:0:10State:s:10:15.....
Yes, but you'll have to use a custom profile provider. This one, created by Microsoft employee Hao Kung should do what you are looking for.
精彩评论