how to make a part of string as Bold??
-
Hi peoples, I have to display a string in the label, i will concatenate and pass the same to the label, but my need here is i want to do some part of the string as bold, i.e for example the concatenate string is Website Code project and i need is that Website Code project can any one help me?? thanks in advance
-
Hi peoples, I have to display a string in the label, i will concatenate and pass the same to the label, but my need here is i want to do some part of the string as bold, i.e for example the concatenate string is Website Code project and i need is that Website Code project can any one help me?? thanks in advance
for web project.
Label2.Text = @"<b>Website</b> Code project";
happy coding... -
Hi peoples, I have to display a string in the label, i will concatenate and pass the same to the label, but my need here is i want to do some part of the string as bold, i.e for example the concatenate string is Website Code project and i need is that Website Code project can any one help me?? thanks in advance
it can be done via graphics.DrawString but might not work on labels. try that one. format string part using some font and display it.
First and the Foremost: FIGHT TO WIN
MySite:
HariOmPrakash.InFo -
Hi peoples, I have to display a string in the label, i will concatenate and pass the same to the label, but my need here is i want to do some part of the string as bold, i.e for example the concatenate string is Website Code project and i need is that Website Code project can any one help me?? thanks in advance
-
The label doesn't support different font settings for part of the text. Use the Paint event of the label and draw the text yourself.
Despite everything, the person most likely to be fooling you next is yourself.
is it possible for that to do in the text field display only??