且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

与许多用户登录表单

更新时间:2023-12-03 18:42:10

您好,请看这个链接:



多用户窗口形式 [ ^ ]

尝试使用XML,

您可以将所有用户的用户名和密码存储在XML文件中。

在登录按钮期间单击,您可以从现有用户的XML文件。如果用户名和密码正确,则可以登录,否则退出。


Im trying to make a form in visual studio 2012 that lets multiple users sign in . with out a sql server or anything like that just from a file or from with in the code..

Hi, see this link:

Multiple-users-in-windows-forms[^]


Try with XML,
You can store user Name and Password of all users in XML file.
During Login Button click you can check from the XML file for existing user.If User name and password correct then they can login else logout.