i’m using a main form and edit form, and i want to use the edit form text boxes in the main form, how can i do it?
edit
can’t use user controls.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way would be create properties that expose the text fields. Call your edit form, then read the properties back.
You could expose the whole control, but if all you care about is the contents of the text boxes, creating properties to expose just those is cleaner.