Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the decimal?

A. txtSalesTax.Text = Format(txtSalesTax, "Percent")
B. txtSalesTax.Text = Format(txtSalesTax, "Fixed")
C. txtSalesTax.Text = Format(txtSalesTax.Text, "Percent")
D. txtSalesTax.Text = Format("Percent", txtSalesTax.Text)


Answer: C

Computer Science & Information Technology

You might also like to view...

The __________ operation creates an instance of a class.

Fill in the blank(s) with correct word

Computer Science & Information Technology

You should spell out an abbreviation on first use and show the abbreviation in parenthesis, such as National Business Education Association (NBEA).

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A tag pair assigns meaning to a web page ____, which is a specific component of the page, such as a paragraph or a heading.

A. property B. element C. object D. attribute

Computer Science & Information Technology

All containers use the same names for the common operations.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology