我如何管理登录页面plz使用C#在asp.net中向我发送代码 [英] how can i manage login page plz send me code in asp.net with C#

查看:60
本文介绍了我如何管理登录页面plz使用C#在asp.net中向我发送代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


style ="color:#FFFFFF; text-align:left; font-weight: 700;字体家族:"Comic Sans MS";字体大小:x-large;背景颜色:#009900">
登录页面


< asp:图片ID ="loginimg"符文=服务器"宽度="103px"高度="75px"
ImageUrl =〜/Images/Currect_login_image.jpg"/>
用户类型:
< asp:DropDownList ID ="ddlstatus" runat ="server"宽度="100px">
< asp:ListItem>候选
< asp:ListItem>管理员

电子邮件ID:
< asp:TextBox ID ="txtid" runat =服务器"宽度="150px">

密码:
< asp:TextBox ID ="txtpassword" runat =服务器" TextMode =密码"宽度="150px">
< asp:标签ID ="lblerror"符文=服务器"
style ="color:#FF0000; font-family:"Courier New",Courier,等宽;">
< asp:ImageButton ID ="btnlodin" runat ="server" ImageUrl =〜/Images/log.jpg"
onclick ="btnlodin_Click"/>
< asp:LinkBut​​ton ID ="lkbtn" runat =服务器"
style ="font-size:medium; font-family:" Comic Sans MS;颜色:#FF0000;"
onclick ="lkbtn_Click">
忘记密码了?




这是我的登录页面的设计代码....
以及此表格的表格

Login_id int已检查
User_type varchar(10)未经检查的管理员/候选人
User_id varchar(50)未选中
密码varchar(16)未选中

请告诉我它在C#中的源代码.....
我该如何处理...
我的系统是在线考试..


style="color: #FFFFFF; text-align: left; font-weight: 700; font-family: ''Comic Sans MS''; font-size: x-large; background-color: #009900">
Login Page


<asp:Image ID="loginimg" runat ="server" Width="103px" Height ="75px"
ImageUrl="~/Images/Currect_login_image.jpg" />
User Type:
<asp:DropDownList ID ="ddlstatus" runat="server" Width ="100px">
<asp:ListItem>Candidate
<asp:ListItem>Admin

Email Id:
<asp:TextBox ID="txtid" runat ="server" Width ="150px">

Password:
<asp:TextBox ID="txtpassword" runat ="server" TextMode ="Password" Width ="150px">
<asp:Label ID ="lblerror" runat ="server"
style="color: #FF0000; font-family: ''Courier New'', Courier, monospace;">
<asp:ImageButton ID="btnlodin" runat ="server" ImageUrl="~/Images/log.jpg"
onclick="btnlodin_Click"/>
<asp:LinkButton ID ="lkbtn" runat ="server"
style="font-size: medium; font-family: ''Comic Sans MS''; color: #FF0000;"
onclick="lkbtn_Click">
Forgot Password ?




this is my disign code of login page....
and the table of this form

Login_id int Checked
User_type varchar(10) Unchecked admin/candidate
User_id varchar(50) Unchecked
Password varchar(16) Unchecked

plz tell me the source code for it in C#.....
how can i handle it...
my system is online exam..

推荐答案



尝试点击此链接:
http://msdn.microsoft.com/en-us/library/d51ttbhx(VS .85).aspx [ ^ ]

http://www.daniweb.com/software-development/csharp/threads/24148 [ ^ ]

问候
Robert
Hi,

try to chceck this links:
http://msdn.microsoft.com/en-us/library/d51ttbhx(VS.85).aspx[^]
and
http://www.daniweb.com/software-development/csharp/threads/24148[^]

Regards
Robert


永远不要以明文形式存储密码-这是主要的安全风险.这里有一些有关如何执行此操作的信息:密码存储:如何进行 [ ^ ]
Never store passwords in clear text - it is a major security risk. There is some information on how to do it here: Password Storage: How to do it.[^]


这篇关于我如何管理登录页面plz使用C#在asp.net中向我发送代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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