Wpf Login System
- by neki
Hi everyone. i am developing a training software in wpf. but i have problems. this application will be setup project.
when the user make it work, a login window will open. User should enter his username.there wont be a password.
but the problem is next; i dont know how to get userid from database. and compare other usernames to get the right userid.
second problem is, when i get right userid from database, how can i use it main window? where can i store this userid. will be this session or something like that?
i want this userid because, user will have notpad and questions. thanks in advance.
Database(UserInformation table)
userid/ username