You must Sign In to post a response.
  • Category: .NET

    Formating problem in .Net


    I want to write 1/2 below one another as we write in text copy's in schools.

    with regards,
    Binay Kumar Prasad.
  • #765585

    Your question is not clear, request you to please elaborate your query so that we can help you better.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #765599

    My requirement is very simple. I have two values let suppose 'a' and 'b'.
    Now I have to write 'b' below 'a' separated by '-'. I can write 'a/b' but i have to write:

    in single line. How can I do that.?

    Binay Kumar Prasad.

  • #765601

    You are expecting this using .NET, it is not possible. we can use "/" symbol for divide, there is no specific symbol "---" for the same, if my understanding is wrong then please revert with exact requirement.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #765604
    I am able to do things using '/', but my requirement is not getting fulfilled by the same.

  • #765605
    Try this:
    <asp:Label ID="Label1" Text="1" runat="server" Style="border-bottom: 1px solid black; POSITION: absolute; left: 10px; top: 480px;"></asp:Label>
    <asp:Label ID="Label2" Text="2" runat="server" Style="POSITION: absolute; left: 10px; top: 500px;"></asp:Label>
    You can change Label.Style["left"] OR Label.Style["top"] at server side depending upon your requirement and values also.

  • #765612
    do you want to write it in Textbox or what ? in windows or web application ? Please explain so that we can help you better
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #766394
    What is your Requirement? Can you explain more and clearly.
    then only reply members give solution for you easy and quickly.

    Can you share snapshots for your issue.

    Name : Dotnet Developer-2015
    Email Id :

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.

  • #766892
    I have n't understood the problem and your requirement is not clear enough to give any response. So please add a screen shot here to know the problem

  • #766903
    I think you can not do this directly. Because the font will not support . You can try the imaging. You can follow the CAPTCHA concept. In the CAPTCHA we are creating images dynamically and showing in the front end. you can try the same way. Generate image dynamically and show it in the UI. You can find lot of sample CAPTCHA code. You can try any of them.
    By Nathan
    Direction is important than speed

  • Sign In to post your comments