ASP.net中的登录页面,带有后端sQL服务器 [英] Login page in ASP.net with backend sQL server

查看:87
本文介绍了ASP.net中的登录页面,带有后端sQL服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有名称和密码的asp登录页面。如果用户输入名称和密码并按下按钮,则应检查数据库中是否有可用名称,我们必须重定向到另一页。





任何人都可以告诉我wat查询用户名和密码。

i had a asp Login page with name and password. if the user enter the name and password and hit the button it should check in the DB if the names available we have to redirect to another page.


can any one tell me wat's the query for check the username & password.

推荐答案

这里有完整的代码,包含登录页面的屏幕截图:



http://www.c-sharpcorner.com/uploadfile/rohatash/simple-user-login-in-Asp-Net-using-C-Sharp/ [ ^ ]





如果您想使用内置登录cotrol,请参阅:



http://forums.asp.net/t/1403132.aspx [ ^ ]



如果解决问题,请接受回答并投票。
Here you get complete code with screen shots of login page:

http://www.c-sharpcorner.com/uploadfile/rohatash/simple-user-login-in-Asp-Net-using-C-Sharp/[^]


If you want to use inbuilt login cotrol refer this:

http://forums.asp.net/t/1403132.aspx[^]

Accept as answer and vote if solve your problem.


这篇关于ASP.net中的登录页面,带有后端sQL服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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