Which of the following statements assigns the contents of the txtGrade control, in uppercase, to the strGrade variable?

A. If strGrade = txtGrade.Text.ToUpper Then
B. strGrade.ToUpper = txtGrade.Text
C. strGrade = txtGrade.Text.ToUpper
D. txtGrade.Text.ToUpper = strGrade


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following signs is used when creating an absolute reference?

A. # B. @ C. $ D. &

Computer Science & Information Technology

When a variable’s name is placed in the call statement, is it a call by value (i.e., is a copy of the variable’s data being passed) or a call by reference (i.e. the address being passed)? Hint: this is a trick question.

What will be an ideal response?

Computer Science & Information Technology

________ view is designed to provide the most space possible for typing

Fill in the blank(s) with correct word

Computer Science & Information Technology

Many Web servers do not handle spaces well in folder and file names; they might replace each space with the %________ combination

Fill in the blank(s) with correct word

Computer Science & Information Technology