Displaying data in pargraph on label

Discussion in 'C#' started by mpatel, Oct 6, 2008.

  1. #1
    Hi
    I am inserting data in sql server database, it is inserted with paragraph but when i fetch it on label it just dispalying all the string but not in paragraph
    please tell me how can solve this.
     
    mpatel, Oct 6, 2008 IP
  2. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #2
    use literal control instead!
     
    yugolancer, Oct 6, 2008 IP
  3. jgarrison

    jgarrison Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try displaying it like this:
    label.text = replace(variable,vbCrLf,"<br /><br />")
     
    jgarrison, Oct 6, 2008 IP