如何调整 ASP.NET CreateUserWizard?

发布于 2024-10-09 10:53:39 字数 271 浏览 0 评论 0原文

我在 IIS 7.5 上创建了 ASP.NET WebForms 站点。我想逐步创建用户注册。我想将注册用户的基本和详细信息存储在专门创建的数据库表中(而不是在 aspnet_users 表中)。我想首先验证电子邮件,然后阻止电子邮件地址已存在于数据库中的用户执行下一步注册步骤。在最后的注册步骤中,我想出示汇总表。所有先前的输入和选择字段都应在此表单中复制,并具有“禁用”属性。

请告诉我如何调整 CreateUserWizard ASP.NET Control 和 web.config 文件以满足这些需求?

I have created ASP.NET WebForms site on IIS 7.5. I want to create step by step user registration. I want to store the basic and detailed information about registered users in a specially created database table (not in aspnet_users table). I want to validate email first and then prevent next registration step for the user whose email address already exists in the database. At the last registration step I want to present summary form. All previous input and select fields should be duplicated in this form with "disabled" attribute.

Please tell me how to adjust CreateUserWizard ASP.NET Control and web.config file to these needs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娜些时光,永不杰束 2024-10-16 10:53:39

您可以向 CUW 添加步骤,如下所示:

自定义 CUW

存储附加信息

显示用户注册摘要< /a>

为了进行验证,您可以在会员元素:

你在一个问题中有几个要求。如果能分成不同的问题就更好了。

You can add steps to CUW as shown here:

Customize CUW

Storing Additional Information

Show Summary of user registration

For verification you can set requiresUniqueEmail="true" in your membership element:

Your have several requirements in one question. It would have been better if you had split into different questions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文