khandelwal g wrote:
or create session?
I think session can not be created in window application
Yes, there are no sessions in Windows application.
khandelwal g wrote:
what should i do?
1. Design your tables such that based on a given year and username, you can verify if the password matches and thus autehnticates a user.
2. In your UI, take the parameters - Census years, Username and password
3. Pass on the values to DB
4. Verify if the user is valid based on the data
5. Return true(if ok) or false(if not ok)
6. based on true/false, move on to next form.