Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. i am using asp.net with vb

i am using asp.net with vb

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Deepthy P M
    wrote on last edited by
    #1

    I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.

    J M 2 Replies Last reply
    0
    • D Deepthy P M

      I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.

      J Offline
      J Offline
      John ph
      wrote on last edited by
      #2

      Is there any problem in using the TextBox control to display the address by setting the MultiLine and Read-Only property to True or by setting the enabled property to false? If you wanted to display multi-line text in a lable control, then you can add Environment.NewLine at the end of each line. I hope this solves your problem.

      - Regards -
         J O N


      A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers


      1 Reply Last reply
      0
      • D Deepthy P M

        I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way. For entering i used textbox with multiline property.

        M Offline
        M Offline
        Mark Churchill
        wrote on last edited by
        #3

        Check the html that ASP.Net emits. Even though the people input "foo {newline} bar {newline} err", and that gets saved to the database, you will need to replace the newline characters with the BR tag. Your html will have new line characters in it, but they will be ignored by the browser.

        Mark Churchill Director Dunn & Churchill Free Download:
        Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups