To get you started, we need an example scenario: consider you are developing an application to track investments in the stock market.
The following form illustrates better how a user might create a new investment on this application:
This form will allow the input of three values that define an investment:
A Symbol which represents what company (stock) the user is investing in
How many Shares the user has bought (or invested in)
How much the user has paid for each share (the Share price)
Tip
Downloading the example code
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
If you are unfamiliar with how the stock market works, imagine you are shopping for groceries. To make a purchase you must specify what you are buying, how many...