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
|