Exercise - Set the Default Value
- In ShowEmployeeCars.
- Go to the Form.
- Find the EmployeeID Textboox.
- Change the Allowfocus to false.
- Save changes to Git.
- Build and test.
- Go back to the class code.
- In the Run method set the default value of EmployeeID to be the receiving parameter.
- Save changes to Git.
- Build and test.
- Change to BindValue instead of default value. (remember this what you will see in the migrated code).
- Save changes to Git.
- Build and test.
- Change from two lines of code to one using the BindEqualTo.
- Save changes to Git.
- Build and test
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com