Format a string

    Date: 05/16/06 (Asp Dot Net)    Keywords: no keywords

    I have a string that I concatenate 4 text boxes into one variable for stuffing into the Body of an email.
    Is there a way to format the string for the body of my email?

    string NameAndLastDay = Label1.Text + Name.Text + LastDay.Text + BAndD.Text;

    This string bunches up all the values of the text boxes into one long line.

    I would like it to be something likeā€¦

    Label1
    Name
    LastDay
    BAndD


    How can I do that?

    Source: http://community.livejournal.com/aspdotnet/66112.html

« Export GridView to Excel || Windows Mobile »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home