by Ey what on February 12th, 2007

Ey what

Question

Help answer this question below.

Using ASP.net. What is the best way to force certain text to always be CAPS and have a registration symbol at the end of it?

Answers. 2 helpful answers below.

  • by top54u on February 5th, 2008

    top54u

    Using C# code:
    String myStr = "Hello World";
    Literal1.Text = myStr.ToUpper() + "©";

    Output:
    HELLO WORLD©

    Using CSS:
    TEXT-TRANSFORM: uppercase;

    and concat your string with ©
    You will get the desired output.
    Gud Luck.. :)

    No comments. Post one | Permalink

  • by heyman on January 18th, 2008

    heyman

    in CSS you can use

    text-transform: uppercase

    and copy right you can use © - when it renders - it will show the copy right symbol on the page

    No comments. Post one | Permalink

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

You're reading Using ASP.net. What is the best way to force certain text to always be CAPS and have a registration symbol at the end of it?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Mix live sand