11
Answers

A textBox doesnt allow a transfert coming from a form

Photo of Israel

Israel

9y
912
1
Hi!
 
I need to transfer the data I have inside of my txtName  to other textbox named txtBox1. Curiosly its doesnt allow textbox only label (as you can see). Why I need only textbox? Just because with the textbox where I need to put my data coming from txtName its in multiline mode. But not for a label. How can I resolv it please.
FormToPrint= new FormToPrint(); 
frmToPrint.label.Text = txtName .Text.ToString();
frmToPrint.Show(); 

Answers (11)