Hi

Use the Font property to specify the font properties of
the Web Server control. This property includes
subproperties that can be accessed declaratively in the
form of Property-Subproperty (for example Font-Bold) or
programmatically in the form of Property.Subproperty (for
example Font.Bold).

All but one subproperty will render in browsers prior to
Microsoft Internet Explorer version 4 for all controls.
They are: Bold, Italic, Name, Names, Strikeout,
Underline, and Size (but only named font sizes, such as
Small, Smaller, and so on, will work).



Ravikanth


>-----Original Message-----
>In my ASP.NET C# script, I am trying to set the
ForeColor and Font-Bold
>status of a label. I have managed to set the ForeColor
by importing the
>System.Drawing namespace, but I can't work out how to
set the Font-Bold
>status. Do I need to import another namespace?
>
>
>Any assistance would be appreciated.
>
>
>Cheers,
>
>Mike
>
>
>
>*** Sent via Developersdex [url]http://www.developersdex.com[/url]
***
>Don't just participate in USENET...get rewarded for it!
>.
>