Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

How can do super script using C#?
Means :I want to display Notify^notify
How can i write this so that it will show like Notify power notify?

Thanks in advance.
Posted
Comments
phil.o 2-May-12 5:55am    
Your question is unclear. Please describe exactly where you start from, what you want to achieve, and where you are stuck.
bhagirathimfs 2-May-12 6:21am    
Example :
http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_sup
in this link,right side showing the result.
I want that type result using C#.

1 solution

Looks like you want this in web application only (based on your tag) but your question sounds like for a winform!

You already know the answer by yourself. HTML <sup></sup> does the work for you. Put the text between the tag and it will be a superscript. From server side, use Literalstring and inject in the html page.
 
Share this answer
 
Comments
bhagirathimfs 2-May-12 9:34am    
Form1.Text = "Notification^TM " + loggedUserName

Here
Form1 is the form id and loggedUserName is a variable.
When i execute the above line it is showing (for loggedUserName = 'bhagi')
Notification^TM bhagi but need that TM should go to up little bit(means superscript)

How can i do this
Amit Bhumbar 9-Jan-13 1:35am    
How can I use it for winform?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900