Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
将 CreateUserWizard 控件拖入 ASP.NET 应用程序时,“创建用户”按钮使用默认数据库:“aspnetdb”来插入或创建新用户。
我想使用 ASP.NET 的 CreateUserWizard 控件来创建我自己的用户(来自我自己的数据库),但我不能这样做,因为我无法访问文本为“创建用户”的提交按钮的单击事件(即CreateUserWizard 控件的一部分)
我怎样才能做到这一点?
谢谢
您将需要使用自定义成员资格提供程序并覆盖 CreateUser。