Wednesday, July 15, 2009

What is the coding statement in Visual Basic to assign the label Total to display the text Total?

If you want to display the word Total in a label control named totalLabel in Visual Basic code, the correct coding statement would be: totalLabel.Text = “Total”(true or false)

What is the coding statement in Visual Basic to assign the label Total to display the text Total?
it would be


totalLabel.Caption = "Total"


PS who taought you to name controls like that?


I though everyone named the in the form lblTotal, txtTotal, cmdTotal, etc.
Reply:Why don't you just try it?


I may be wrong, but I think the correct for label will be totalLabel.Caption = “Total
Reply:You may find the answer here





http://www.freetutes.com/VisualBasic
Reply:False





It's totalLabel.caption = "True"


No comments:

Post a Comment