面向对象的登录代码 [英] login object oriented code

查看:98
本文介绍了面向对象的登录代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi

帮助我有关面向对象的登录代码

hi

help me about login object oriented code

推荐答案

这不是问题,这是无知的表现.您可以阅读成千上万的书籍,可以阅读成千上万的网站,如果这是您提出问题的最佳方法,那么在担心编写涉及以下内容的代码之前,您需要学习更多有关编程的知识
This is not a question, it''s a show of ignorance. There''s tons of books you can read, tons of websites you can read, and if this is the best you can do to form a question, then you need to learn a lot more about programming before you worry about writing code that involves security in any way.


我已经审查了您的其他问题,尽管基于级别,这显然是疯狂的,但您显然处于某种过程的中间其他问题中显示的经验表明,您的类会让您完全编写ASP.NET代码,更不用说担心登录控件了.我能想到的唯一其他选择是,您尝试过阅读一本基本的C#书籍,因为您已经在rentacoder站点上接受了ASP.NET作业.如果前者是正确的,则您需要在这里停止提问,而要与您的老师交谈.这是程序员获得帮助的好网站,但是您还不能理解我们所能提供的答案,这意味着它仍然无法真正为您提供帮助.

如果您在不了解编程的情况下从事有偿工作,那么您就是欺诈,应该制止这种欺诈.
I''ve reviewed your other questions, you''re obviously in the middle of some sort of course, although it''s insane, based on the level of experience shown in your other questions, that your class would have you writing ASP.NET code at all, let alone worrying about login controls. The only other option I can think of is that you tried to work through a basic C# book because you''d accepted an ASP.NET job on a rentacoder site. If the former is true, you need to stop asking here, and instead talk to your teacher. This is a great site for programmers to get help, but you''re not yet at a level of being able to understand the answers we can give, which means it can''t really help you, yet.

If you''re taking paid work when you know nothing about programming, then you are a fraud and you should stop it.


我有:

管理员类和用户类派生自成员类的成员类

我怎么知道登录时是管理员还是用户?
i have :

members class that admin class and user class derive of the members class

how i know that when login performed that it is admin or user ?
public class members
{
private string email;
}

public class user:members
{
private string password;
}

public class admin:members
{
private string password;
}


这篇关于面向对象的登录代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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