当前位置: 动力学知识库 > 问答 > 编程问答 >

C# WinForms User Management

问题描述:

I'm working on my first C# program and so far have sorted the database connection, users table, adding new users, login with salt hashed password etc. but am now stuck on how to manage the users.

My Users table has:

  • ID (int)
  • Name (nvarchar)
  • UserName (nvarchar)
  • Password (nvarchar - this is the salted hash)
  • Administrator (bit)

I want to create a form that manages the users, but don't have a clue of how to lay this out and create the optimum UI.

The form should only be accessible when the current logged in user is an Administrator, but that is easy to sort out so I am not worried about implementing that.

If someone can give me ideas, or even provide example form views of how they have laid out their user management it would be very helpful.

网友答案:

Here's an example (Administration of a LightSwitch app):

分享给朋友:
您可能感兴趣的文章:
随机阅读: