I have created a Control which has 4 textboxes. I have dragged the control into a windows Form and from this window form i need to set the text of the textboxes. Is there a way i could change the text of a textbox which is inside another control.
Thanks
David
How do I change the text of a textbox inside a user control.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Solitaire85 pointsPosted Sep 1, 2005, 6:04 PM EDT
Type the name of the container (the user control) followed by a dot and the textbox name.
Example: mycontrol.textbox1.Text = "Hello"
david vassallo3 pointsPosted Sep 1, 2005, 11:30 PM EDT
Thanks again,
David