I have three textbox in the web form, which is username, password and IC number that the user have to enter to register. if the IC number the person entered, matches the IC value of any record in the database, it will update the username and password that
the person have typed into the username field and password field of that record that have the matching IC. What I would want is if the record in the database for username and password of the nric entered is filled up, I would like to have a error in a label
saying that this NRIC already have a username and password.
Etc, If I entered S9583728F in the NRIC box, and want to register a account, but since in my table S9583728F already have a username and password which is settsser and ddddd, I want it to give me, this NRIC already have a username and password.
Go to the complete details ...