剔除轮廓供应商,有一个简单的方法来定制字段添加到ASP.NET成员资格? [英] Excluding the profile provider, is there an easy way to add custom fields to ASP.NET membership?
问题描述
我知道你可以使用自定义字段的个人资料提供者,但由于数据存储在数据库中的方式,它是没有效率的满足我的需求。
I know you can use the Profile provider for custom fields, but given the way the data is stored in the database, it is not efficient for my needs.
有没有办法将自定义字段添加到数据库与会员使用,同时利用所有的内置成员存储过程和C#类? (短添加字段的表,并修改所有的程序和方法)
Is there a way to add custom fields to the database for use with membership, while taking advantage of all the built in membership stored procedures and c# classes? (Short of adding fields to the table, and modifying all the procedures and methods)
谢谢!
凯文
推荐答案
你有看了一下表配置文件提供,这里是一个链接: http://www.asp.net/downloads/sandbox/table-profile-provider-samples/ 。这可能会解决你的问题,因为它存储在用户的默认提供的一列一列insteal每个值。
Have you looked at the Table Profile Provider, here is a link: http://www.asp.net/downloads/sandbox/table-profile-provider-samples/. This might solve you problem, since it stores each value in a single column insteal of a single column like the default provider.
这篇关于剔除轮廓供应商,有一个简单的方法来定制字段添加到ASP.NET成员资格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!