can anyone help me on how to prevent duplicate entry in my project....
i just want to how to prevent this in happening before clicking the save button...
ex:
i set the username as the primary key
in my username textbox i want that when i type something, if it already exists there should be a warning that that username is not available so that there is no error after i try to save it..
i just want to how to prevent this in happening before clicking the save button...
ex:
i set the username as the primary key
in my username textbox i want that when i type something, if it already exists there should be a warning that that username is not available so that there is no error after i try to save it..