开发者

use CreateUserWizard control to create records in your own database

开发者 https://www.devze.com 2023-02-11 05:30 出处:网络
When dragging a CreateUserWizard control into the ASP.NET application, the \"Create user\" button uses the default database: \"aspnetdb\" to insert or create the new user.

When dragging a CreateUserWizard control into the ASP.NET application, the "Create user" button uses the default database: "aspnetdb" to insert or create the new user.

I want to use the CreateUserWizard control of ASP.NET to create my own users (from my own database), but I cannot do so, because I cannot access the click event of the submit bu开发者_Python百科tton whose text is "Create user" (that is a part of the CreateUserWizard control)

How can I do this?

Thanks


You will need to use a custom membership provider and override CreateUser.

  • How to: Implement a Custom Membership User
  • Writing A Custom Membership Provider for your ASP.NET 2.0 Web Site
  • Building Custom Providers for ASP.NET 2.0 Membership
0

精彩评论

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