本文介绍了选中复选框时如何保存用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我正在设计一个登录表单-(使用C Sharp和MS SQL Server的Windows应用程序).

我想要如何保存登录数据的逻辑和代码,以便在用户下次返回时能够找到为他编写的所有可用用户名和密码.

我知道可以通过将登录数据存储在app.config
中来完成您能否显示写入xml文件app.config并从中检索所需的用户名和密码的方式.
请给我存货Google既没有帮助我也没有来自codeprject的搜索结果.

如果您中的某人使用上述要求在代码中加上注释并编写注释以了解发生什么事情,那将是很棒的事情

Hello
i am designing a Login form---(windows application using C sharp and MS SQL server).

i want the logic and code how to save the login data so that when user returns next time he finds all ready username and password written for him.

i know that this can be done by storing the login data in app.config
can you show the way of writing to xml file app.config and then retreiving the needed username and password from it.
please i am stocked Google is not helping me neither the search results from codeprject.

it would be great if someone of you makes a loginform with the above requirments with comments in code to understand whats happining

Thanks

推荐答案




这篇关于选中复选框时如何保存用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 12:42