Hi all,

I have 2 forms, form1 is for entering Name, ID and School. I want all the data i enter in form1 to show in a table in form2. Can someone recommend which way is best of doing this?

Many Thanks

Are you using Windows Forms program? Or something else? General, make a public function in Form2 that Form1 can call and pass the data. Form1 will have to get a pointer to Form2 in order to do that. Another way is to put the data into a common data file that can be used by both forms. MFC does that with its CDocument class, and you could easily implement something very similar.