Exercise - Set the Default Value

  1. In ShowEmployeeCars.
  2. Go to the Form.
  3. Find the EmployeeID Textboox.
  4. Change the Allowfocus to false.
  5. Save changes to Git.
  6. Build and test.
  7. Go back to the class code.
  8. In the Run method set the default value of EmployeeID to be the receiving parameter.
  9. Save changes to Git.
  10. Build and test.
  11. Change to BindValue instead of default value. (remember this what you will see in the migrated code).
  12. Save changes to Git.
  13. Build and test.
  14. Change from two lines of code to one using the BindEqualTo.
  15. Save changes to Git.
  16. Build and test

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com