You can use the power of inheritance and regular expressions to develop a set of Text Box-derived controls that support a variety of input.
The first step is to create a base class that serves as the foundation control.
The chapter focuses on how to handle such exceptional situations with the help of try, catch, and finally blocks.
You will also learn how to handle unhandled exceptions at the level of application domain.
The truth is that none of us filling in forms — there is a lot of evidence to show that users get annoyed by forms, and are one of main things that will cause them to leave and go somewhere else if they are done badly. We want to make filling out web forms as non-horrible as possible, so why do we insist on blocking our users at every turn?