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. how to show saved text data in paragraphic way.

how to show saved text data in paragraphic way.

Scheduled Pinned Locked Moved ASP.NET
databasetutorial
3 Posts 2 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.
  • P Offline
    P Offline
    popalzai
    wrote on last edited by
    #1

    hi! i have saved a brief history like a paragraphic way in the access database. wen i get the result, i get it with same line breaks and spaces i gave while writing text. now prob is that wen i am trying to show this inforation on a literal control its coming in one line only. how to get the data in the same way i entered while saving.

    F 1 Reply Last reply
    0
    • P popalzai

      hi! i have saved a brief history like a paragraphic way in the access database. wen i get the result, i get it with same line breaks and spaces i gave while writing text. now prob is that wen i am trying to show this inforation on a literal control its coming in one line only. how to get the data in the same way i entered while saving.

      F Offline
      F Offline
      Fred_Smith
      wrote on last edited by
      #2

      Use the string Replace method to replace all line breaks with an html
      tag - in VB you would use something like str.Replace(vbCrLf, "
      ") Fred

      P 1 Reply Last reply
      0
      • F Fred_Smith

        Use the string Replace method to replace all line breaks with an html
        tag - in VB you would use something like str.Replace(vbCrLf, "
        ") Fred

        P Offline
        P Offline
        popalzai
        wrote on last edited by
        #3

        thanks for reply.

        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