Wpf Login System

Posted by neki on Stack Overflow See other posts from Stack Overflow or by neki
Published on 2009-12-28T18:57:32Z Indexed on 2010/04/03 12:03 UTC
Read the original article Hit count: 669

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about wpf

Related posts about login