Exercise - Column Collection
- Run ShowShippers.
- Break to the developer using ShiftF12.
- In the Watch Panel add Columns.
- Notice :
- The number of columns.
- Columns names.
- Stop the application.
- Add the ShipperID and CompanyName to the columns collection.
- Run ShowShippers.
- Break to the developer using ShiftF12.
- Notice :
- The number of columns.
- Columns names.
- What is the missing Column?
- Notice The two local columns are included.
- Stop the application.
- Go to the Form and follow this steps:
- select TotalOrders textBox.
- In the Properties Panel find Data.
- Click the ... button,
- In the pop-up screen use the clear button.
- Run ShowShippers.
- Break to the developer using ShiftF12.
- Notice that TotalOrders is no longer part of the columns Collection.
- Stop the application.
- Go to the Form and follow this steps:
- select ShipperID textBox.
- In the Properties Panel find Data.
- Click the ... button,
- In the pop-up screen use the clear button.
- Run ShowShippers.
- Break to the developer using ShiftF12.
- Notice that ShipperID is still part of the columns Collection.
- Stop the application.
- Go to the Form and follow this steps:
- Set the ShipperID textBox to show the data from the ShipperID.
- Set the TotalOrders textBox to show the data from the TotalOrders.
- Save changes to Git.
- Build and test.
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com