如何在用户表中搜索用户名和密码? [英] How Do I Search For Username And Password In A Users Table?

查看:73
本文介绍了如何在用户表中搜索用户名和密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我需要检查在数据库中的表格中输入登录屏幕的用户名和密码,并返回结果,说明是否信息是正确的。有没有办法做这个唱SQL语句?



我正在使用C#和SQL Server 2012

解决方案

< blockquote>参考:

1. sample-c-windows-form-login-screen [ ^ ]

2. ASP.Net中的简单用户登录表单示例 [ ^ ]


请参考此链接



http:/ /stackoverflow.com/questions/13317543/c-sharp-s imple-username-password-using-sql-user-always-invalid [ ^ ]


Hi All

I need to check the user name and password entered into a login screen against a table in a database and return a result stating whether or not the information was correct. Is there any way to do this sing SQL statements?

I am using C# and SQL Server 2012

解决方案

Refer:
1. sample-c-windows-form-login-screen[^]
2. Simple User Login Form example in ASP.Net[^]


please refer this link

http://stackoverflow.com/questions/13317543/c-sharp-simple-username-password-using-sql-user-always-invalid[^]


这篇关于如何在用户表中搜索用户名和密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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