adspace


how do i copy textbox contents of 1 form to another form

Answer Posted / vishal m.s.

In 2nd form create an object for the 1st form
And write a code as below
//Object creation for form1 in form2(on command Button)

Form1 f1 = new Form1();
TextBox1.Text = f1.TextBox1.Text;

Is This Answer Correct ?    4 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category