Ampersand in VB.NET

Mehyar

Well-known member
Joined
Jun 9, 2003
Messages
371
Location
Lebanon
Hello guys,

does any one know how can i type an ampersand in the text of a label in vb.net ?

thx in advance
 
Last edited by a moderator:
A single ampersand in a label will produce and underscore _ but to show and ampersand in a lable put two ampersands together like:

lblLabel.text = "this && that"
 
Back
Top