Unable to save Person or Password in Database
I am having multiple problems with saving records and saving passwords in the Personal Organizer Application.
1) When I run my Personal Organizer application, click "Add Person", type the values, and click "Save Button" or the "Save Tool Strip Button" in the "Personal Details" form I am taken to the "Person List" form. But the newly added record does not show in the "Person List" form. The only way to view the record in the "Person List" form or the "Personal Details" form is to click the "Add Person" button and the click the "Show List" button again. The application is suppose to show the record in the List right after saving the record. How do I fix this?
2) When I execute the application I get the message box "You are new to the system. Please enter your password and it will be saved in the database for future use." I get this message everytime, even though I have entered my user id and password previously. The code doesn't seem to save the user id and password in the database. Why the information is not stored in the database.
3) The same problem as question 2, but this time when I click the Save button in the "Personal Details" form I get a message box saying "Person was added successfully". In the same session, when I click on "Show List" button I can view the added new record. Then once I exit the application and restart it the record doesn't show up in the list. Records are not being added to the database. How do I correct the problem? Even if I add data to the Person table directly those records don't show up when I view the list in the application.
FYI: I am using external authentication to login to the database (not SQL Server authentication).
|