我正在做一些功课。我的数据库的用户使用一些其他属性,而不仅仅是当我实现登录和注册机制时为我自动创建的那些属性。但是,当我尝试保存修改显示我一个错误。有人能帮我一把吗? 这是错误:为什么我不能添加新列到我的用户表?
错误说:
'aspnet_Users' table - Unable to modify table. ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'kjoptekvoten' cannot be added to non-empty table 'aspnet_Users' because it does not satisfy these conditions.
,当我实现了基于认证和注册表格数据库自动创建。现在的问题是用户需要更多的属性。我怎么能给它更多的属性?最简单的方法是什么?不介意它是不是理论上正确的(这只是作业)。
我会很感激你的帮助。
它特别重要,它是理论上正确的,因为它的功课:-) – 2011-05-09 00:52:49