What should you do

A. Create and select a TextBox control and a Label control.

Write the appropriate code in the LostFocus event of the TextBox control.

Repeatedly copy and paste the controls into TestKingForm until every column in the TestKing table has a pair of controls.

Repeat this process for the other forms.

B. Add a TextBox control and a Label controls to TestKingForm.

Write the appropriate code in the LostFocus event of the TextBox control. Create a control array form the TextBox control and the Label control.

At run time, add additional pairs of controls to the control array until every column in the TestKing table has a pair of controls.

Repeat this process for the other forms.

C. Create a new user control that includes a TextBox control and a Label control. Write the appropriate code in the LostFocus event of the TextBox control.

For each column in the TestKing table, add one instance of the user control to the TestKingForm. Repeat this process for the other forms.

D. Create a new ActiveX control that includes a TextBox control and a Label control.

For each column in the TestKing table, add one instance of the ActiveX control to TestKingForm. Repeat this process for the other forms.

0 0

Post a comment