I have a form admission and a another form attendance.
When i click on save button of the admission form the id which is contained in that form should be added to the combo box on the attendance form.
eg. say if i am saving the details of ID 4..When i click save button on the admission form and when i open the attendance form i should c that id listed / added in the combo box of attendance form. similary the list should go on populating...as n when i add id's.....
how to do it..
my admission id text box name is txtid.text
and my combobox on attendance form name is cmbattendance.
how to do it ? plz help me out ....i am novice at vb.net so simpler the soln better..it would be.//
cya
ROHAN
AWATING A QUICK RESPONSE...
I TRIED DECLARING THE TXTID.TEXT AND CMBATTENDANCE AS GLOBAL N TRIED
CMBATTENDANCE.ITEMS.ADD(TXTID.TEXT)
HOWEVER ITS NOT WORKING...IE..THE COMBO BOX IS NOT FILLED WITH THE ID'S....?
PPLZ HELP ME OUT.....