用户身份验证表单,从本地DB.Windows移动应用程序获取值!!!! [英] User Authentication form,getting values from local DB.Windows mobile application!!!!
本文介绍了用户身份验证表单,从本地DB.Windows移动应用程序获取值!!!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我该如何创建用户身份验证表单,从本地数据库获取值.我正在使用sqlce,Windows移动应用程序!!!!
您在SqlCE中设置了合适的用户信息表?
然后只是创建表单,添加用户名和密码字段以及登录"按钮的情况.
然后,您针对数据库检查详细信息,然后登录或不适当登录.我会像往常一样使用哈希作为密码(这里有个提示可能值得阅读 ^ ]),但这没什么复杂的-哪一部分给您带来困难?
How can i create a User Authentication form,getting values from local DB.I am using sqlce,windows mobile application!!!!
解决方案
So presumably, you have a suitable user information table set up in SqlCE?
Then it is just a case of creating a form, adding a username and a password field, and a "login" button.
You then check the details against the database, and either log them in or not as appropriate. I would use a hash for the password as usual (there is a tip here that may be worth reading Password Storage: How to do it.[^]), but it''s nothing complex - what part of this is giving you difficulties?
这篇关于用户身份验证表单,从本地DB.Windows移动应用程序获取值!!!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文