asp.net with c# [英] asp.net with c#

查看:102
本文介绍了asp.net with c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#codings登录asp.net

how to login asp.net with c# codings

推荐答案

1。使用自己的登录逻辑制作表单

1. Make your form with own Login logic
    a。设计您的表,以便根据给定的年份和用户名,您可以验证密码是否匹配,从而验证用户。

    b。在您的UI中,取参数 - 用户名和密码

    c。将值传递给DB

    d。根据数据验证用户是否有效

    e。返回true(如果ok)或false(如果不行)

    f。基于true / false,转到下一页
    a. Design your tables such that based on a given year and username, you can verify if the password matches and thus autehnticates a user.
    b. In your UI, take the parameters - Username and password
    c. Pass on the values to DB
    d. Verify if the user is valid based on the data
    e. Return true(if ok) or false(if not ok)
    f. based on true/false, move on to next page





2.使用ASP.NET中提供的登录控件

查看这里是它的detials:

ASP.NET登录控件概述 [ ^ ]

ASP.NET 2.0中的登录控制 [ ^ ]


你在说什么创建登录页面 - 然后参见此处 [ ^ ]。
Are you talking about creating a login page - then see here[^].


我相信你问这个另一天。你的历史肯定包括告诉我如何做到这一点。如果你不想学习,那就找一份不同的工作,放弃编程。如果你想学习,买一些书,学会使用谷歌,一般做一些研究,不要再问这样的一般性问题了。
I believe you asked this the other day. Your history certainly consists of ''tell me how to do this''. If you don''t want to learn, get a different job and give up on programming. If you do want to learn, buy some books, learn to use google and generally do some research and stop asking general questions like this.


这篇关于asp.net with c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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