无效的用户名和密码的代码 [英] Code for invalid userid and password

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

问题描述

当我输入错误的密码或用户名时,应该显示为无效的用户名或密码.你能给我发这个的C#代码吗?..............

when i enter wrong password or userid it should be display like invalid userid or password. can u please send me the C# code for this one..............

推荐答案

不,我们不能.

为什么不呢?
因为我们对他们做事的方式一无所知.
但是,事实上,您在问这个问题,意味着您在错误地进行此操作.我建议您看看如何在您的站点中实现会员资格-这非常简单,并且可以省去大多数麻烦. ^ ]
No, we can''t.

Why not?
Because we know absolutely nothing about they way you are doing things.
However, the fact that you are asking the question, implies that you are doing it the wrong way. I would suggest you have a look at implementing Membership in your site - it is very simple to do, and takes most of the hassles away from you. MSDN : Introduction to Membership[^]


这篇关于无效的用户名和密码的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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