如何在asp.net中提供我自己的会员数据库来登录控件 [英] how to provide my own membership db to login control in asp.net

查看:77
本文介绍了如何在asp.net中提供我自己的会员数据库来登录控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在工具箱中使用登录控件,并使用asp.net网站管理工具定义成员资格和角色,则我将为登录页面建立一个网站..我如何使用我自己的数据库(成员资格数据库)默认之一?

解决方案

您需要实现自定义具有自定义成员资格提供程序数据库的ASP.NET登录控件
为登录控件编写自定义成员资格提供程序


i am building a website.. for login page if i use the login control in toolbox.. and using asp.net website administration tool to define membership and roles.. how can i use my own database (membership database) instead of the default one?? please help!!!

解决方案

You would need to implement a custom Membership Provider[^]


Read following links:
ASP.NET Login Control with custom membership provider database
Writing a Custom Membership Provider for the Login Control


这篇关于如何在asp.net中提供我自己的会员数据库来登录控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆