visual basic question
multiple choice select the correct answer
Which of the following conditions should you use in an If . . . Then . . . Else statement to compare the string contained in the txtName control with the name Bob? (Be sure the condition will handle Bob, BOB, bob, and so on.)
A. txtName.Text = ToUpper("BOB")
B. txtName.Text = ToUpper("Bob")
C. ToUpper(txtName.Text) = "BOB"
D. txtName.Text.ToUpper = "BOB"