Hi,
I have a win form where users get registered and can update/modify details as well.
On this form I have certain fields (like email, country, etc.). The important field is email.
Why important? This gets checked against database whether this email address already exists or not.
1) New User : When a new user gets registered, I have a routine which checks back to the database whether email address exists in the user table and if yes I prompt user saying this email address belongs to someother user-
provide some other email address, which is fine for new registration.
2) Existing User: I pull their details from database and show them. Lets assume user has not modify any field and presses the 'Update' Button. And if I call the same routine - this will definitely prompt user even though the user hasn't modify the email address.
That means I am forcing user every time to change their email address.
I want this routine not to check this password if not modified.
Please let me know how to implement this. For existing user what logic I need so that current email of the user should not be checked if not modified . or some other logic
Thanks,