[不是问题,关于登录系统的事情]请帮助.................. [英] [Not a question, something about a login system] please help ..................

查看:93
本文介绍了[不是问题,关于登录系统的事情]请帮助..................的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想登录我的窗口应用程序,其中我的登录文本的用户名=管理员用户名和密码的组=管理员组的密码

i want make login for my window app in which username of my login text=group of administrator username and password =password of admin group

推荐答案

1。如果您正在开发winform,请阅读: sample-c -windows-form-login-screen [ ^ ]

2.如果您正在开发asp.net,请阅读:会员资格介绍 [ ^ ]
1. If you are developing winform, read this: sample-c-windows-form-login-screen[^]
2. If you are developing asp.net, read this: Introduction to Membership[^]


使用3 db tables.one用于用户详细信息,其中一个列字段将是用户组ID。第二个表将用于存储针对组ID的用户凭证。第三个将用于组名和组ID。



登录时首先识别用户(组),如果识别出用户,则获取他的组ID并验证它来自用户详细信息表。然后从凭证表中检查该组ID是否有效密码。
Use 3 db tables.one is for user details in which one of the column field will be user group id . 2nd table will be for storing user credentials against group id. & third one will be for group name & group id.

During log in first identify the user(group),if identified user then get his group id & validate it from user details table. & then check that group id for valid password from credentials table.


这篇关于[不是问题,关于登录系统的事情]请帮助..................的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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