ASP.NET How can i add superscript into a label control?

OrElse picture OrElse · Jan 1, 2010 · Viewed 7k times · Source

For example currently, the value is set with lblAmount.Text = Amount & " €"

How can i add (dynamically) superscript to the sign?

Answer

Stephen Wrighton picture Stephen Wrighton · Jan 1, 2010

use the SUP tag.

lblAmount.Text = Amount & "<sup>€</sup>"