String^ FormParams = "type=text/html&from=+ textBox2->Text&to=+ textBox3->Text&subject=+ textBox4->Text&content=+ textBox1->Text"; 

How to make, where there + textBox->Text the textBox contents was textBox . Already tried a lot.

PS c ++ / cli winform mvs 2008.

    1 answer 1

    Principle as follows:

     String^ FormParams = "type=text/html&from="+textBox2->Text+"&to="+textBox3->Text+"&subject="+textBox4->Text+"&content="+textBox1->Text; 

    But you may have to use the string concatenation function.