如何创建登录页面以从访问中读取数据并可以根据用户名显示信息 [英] How to create login page that read data from access and can show information according to the username

查看:57
本文介绍了如何创建登录页面以从访问中读取数据并可以根据用户名显示信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个登录表单,该表单将检查用户类别...

因此,当用户成功登录后,他们将被定向到主表单

所以问题是当我尝试使用其他用户名登录时,所显示的信息在文本框中是数据库中第一个人的信息,而不是 基于用户名的信息....希望我能解决这个问题,因为我在该领域还很陌生..谢谢

解决方案

你好

没有看到您对代码所做的事情,我们无法提出建议.我所能做的就是请您看一下可能有帮助的代码示例.

https://code.msdn.microsoft.com/Demonstration-for-login-b5c6479d


I have a login form that will check the user categories...

So when the user successfully login they will be directed to main form

so the problem is when I try to login with different username , the information that being show in the textbox is the information of the first person in the database , instead of the information based on the username....I hope anybody can help me with this problem because I'm quite new in this field..Thank you

解决方案

Hello,

Without seeing what you have done with code we can not make a recommendation. What I can do is have you look at a code sample that may help. 

https://code.msdn.microsoft.com/Demonstration-for-login-b5c6479d


这篇关于如何创建登录页面以从访问中读取数据并可以根据用户名显示信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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