登录名控制 [英] Login Name control

查看:102
本文介绍了登录名控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我有一个项目,在用户登录后,它将显示当前登录用户的用户名(登录名控件).
在那个项目中,我有自己的自定义数据,允许用户输入一些信息,这些信息将存储在我的自定义数据库中.
除了其他信息,我还希望登录名控件将内容(即用户名)存储到我的自定义数据库中.

有想法吗?

Hi.
I have a project,where it will display the username of the current logged in user (loginname control) after user login.
In that project,i have own custom data which allows users to enter some information that will be stored in my custom database.
Along with the other information i also want the login name control to store the content ie the User''s name, to my custom database.

Any ideas guys?

推荐答案

嗨.

我很确定您在阅读
时可能会得到一些不错的主意 Asp.Net配置文件提供程序
Hi.

I''m pretty sure you might get some nice ideas while reading about
Asp.Net Profile Provider and Membership Provider. To make them working with you custom logic and custom Db structure, all you need is create your custom implementation of them.

Most probably overriding Membership provider will be already enough for your purposes...


这篇关于登录名控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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