hi,
i want to add some static text in my C#.Net code.But i want some text to be subScript and some to be SuperScript..
Please guide how can i do this?

The code editor in Visual Studio is a marvelous thing, but it is not a text processor like Word.

So he means no lol, Try using symbols that can be transfered into super and sub. Like for example:

2x^3 is 2x raised to 3rd power. So you can use symbols and substring to read for them.

Like I use # for superscript and $ for sub. But interpreting them into your actual text box takes some work. Look around google and I'd recommend looking through the msdn forums.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.