1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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