Clone Windows Forms Information
-
Hi! I have a question. I have two forms, Form1 and Form2. I add two textboxes to form1 and the same with form2 I fill in the textboxes on form1 and save the information to sql templatetable1. I need to display a list of entries from form1 in a dropdonwlist and when the user selects an entry, form2 needs to be populated by the selected template. How can I do this?
Illegal Operation
-
Hi! I have a question. I have two forms, Form1 and Form2. I add two textboxes to form1 and the same with form2 I fill in the textboxes on form1 and save the information to sql templatetable1. I need to display a list of entries from form1 in a dropdonwlist and when the user selects an entry, form2 needs to be populated by the selected template. How can I do this?
Illegal Operation
-
Hi! I have a question. I have two forms, Form1 and Form2. I add two textboxes to form1 and the same with form2 I fill in the textboxes on form1 and save the information to sql templatetable1. I need to display a list of entries from form1 in a dropdonwlist and when the user selects an entry, form2 needs to be populated by the selected template. How can I do this?
Illegal Operation
There are many methods you can achieve this. 1. You can use delegates to make communication between the forms. 2. You can pass form object as an argument to another form and then use that object to achieve the behavior. 3. You can pre-define object of one form into another form and then by assigning the instance you can make communication possible between the forms. Find following links useful... Passing Data between Windows Forms[^] Pass Data Between the Forms without Events and Delegates[^] Using Delegates to communicate between the Forms[^] HTH
Jinal Desai - LIVE Experience is mother of sage....