I have a form that I have users submit information into a database from. Once they click on the button I need 3 actions to take place:
1. I need the form to clear upon successful submit.
2. I need the form the printout a status of the submit:
a. Successful = 'Record Submitted'
b. Duplicate record = 'Record Already exists'
c. Unsuccessful = 'Unsuccessful submit! Please try again'
I have the easy part done:
if (IsPostBack)
{
Message.InnerHtml = "Record Submitted";
}
Can someone help with the rest?
Thank you.
Sincerely,
Tim