Posted By

aegeancm on 03/11/12


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

danfinrud55


Case Statement


 / Published in: C#
 

  1. For liLoop = 1 To 5
  2. Select Case liLoop
  3. Case 1
  4. If chkEmpInfo.Checked = True Then ImportEmployeeInfo()
  5. Case 2
  6. If chkDirDepInfo.Checked = True Then ImportDirectDepositInfo()
  7. Case 3
  8. If chkDeds.Checked = True Then ImportEmployeeInfo()
  9. Case 4
  10. If chkYTDTotals.Checked = True Then ImportEmployeeInfo()
  11. Case 5
  12. If chkAccums.Checked = True Then ImportEmployeeInfo()
  13. End Select

Report this snippet  

You need to login to post a comment.