usually when u want to pass data u have the driver class, there u create an object of the first form and once in the first form, u create an object of the second form and pass the first form's values into the second form. but in this case its different. you are creating an object of the first form in the driver class. then once the user is in the first form and clicks add item for a blank string in the combo box, an object of the second form is created. once product name is entered into the second form and the update button is clicked the data has to be passed back to the first form. so it is back and forth.
here is my code
please follow this link nexusfactor.webs.com/Lab.rar
THANK YOU A LOT IN ADVANCE!