Good morning,
I have a registration form which adds the user to the system. For example when the admin enters a letter instead of a date in the date of birth, an exception occurs. I did the following code in the web.config:
"customErrors mode="On" defaultRedirect="Error.aspx""
How the try and catch function will redirect the admin to the error.aspx when the error occurs?