如何在不使用配置文件的情况下使用我的数据库对登录和注册进行编码 [英] how to code login and register using my database without using profile

查看:63
本文介绍了如何在不使用配置文件的情况下使用我的数据库对登录和注册进行编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用我的数据库对登录和注册进行编码.我不想使用登录工具.感谢help

i want to code login and register using my database. I dont want to using login tool. Thanks to help

推荐答案

创建两个标签和两个文本框.在页面上添加一个按钮.处理其点击事件.在其中,调用业务层进行验证.如果验证正确,请致电您的数据访问层以检查输入的值是否正确.通过层将结果发送回UI.
Create two labels and two textboxes. Add a button to the page. Handle its click event. In there, call the business layer to do the validations. If validations are fine, call Data Access layer of yours to check if the entered values are correct. Send the result back to UI through the layers.


按照d @ nish的建议,我已经找到了这个 ^ ]的问题相同,但丹麦语给出了相同的解决方案,并给出了一些提示.
祝你好运!
As d@nish suggested you I''ve found this link-[Login without Login Control][^] having same question with same solutions given by danish and some hint.

Best of Luck!


希望
Hope this[^] also might help you.


这篇关于如何在不使用配置文件的情况下使用我的数据库对登录和注册进行编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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