i have been devoloping a project using VB.NET,i am having a problem with passing a value from a newer form to the previous one.i have a form called doctormaintance (lets call this as form1) in that i have to select a specilasation filed for a doctor. this one i done in a separate form(form2). so when i select the reqrd specilisation for a doctor it should appear in the textbox in the previous form. i done it by creatin an object of form1 in form 2. so the data i selected is appearing in the text box,but the other fields which i entered in the form1 is getting cleared.i came to know this is because a new object form is created,so is there is a way to preserve the data i entered in the form 1 ...can i do this with out creating a new object of the form1
i added the two forms screenshot
i added the two forms screenshot
Comment