开发者

Storing profile information for asp.net users in separate columns instead of 1 long column?

开发者 https://www.devze.com 2022-12-19 08:56 出处:网络
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 valu

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号