Hello
I am struggling getting my DatagridView refreshed when the confirmation form closes. Here is the layout of my application
Form_Appt_Main - this has the datagrid which on load populates with all the appointments schedules. I have a button btnNew which opens Form_Appt_New
Form_Appt_New - This is where the user enters all required information to book a new appointment. This form has a button btnSave which passed all the information to a class called Class_Appt_New
Class_Appt_New - this validates the data and inserts the new record into the SQL database. When complete if opens a confirmation form Form_Appt_Confirmation. This form has a button btnOK (and other functionality)
Here is my problem when I click the button in the Form_Appt_Confirmation I want it to close the form (done) and refresh the Form_Appt_Main datagrid.
Anu guidance on this would be extremely appreciated
Thanks
RJL
I am struggling getting my DatagridView refreshed when the confirmation form closes. Here is the layout of my application
Form_Appt_Main - this has the datagrid which on load populates with all the appointments schedules. I have a button btnNew which opens Form_Appt_New
Form_Appt_New - This is where the user enters all required information to book a new appointment. This form has a button btnSave which passed all the information to a class called Class_Appt_New
Class_Appt_New - this validates the data and inserts the new record into the SQL database. When complete if opens a confirmation form Form_Appt_Confirmation. This form has a button btnOK (and other functionality)
Here is my problem when I click the button in the Form_Appt_Confirmation I want it to close the form (done) and refresh the Form_Appt_Main datagrid.
Anu guidance on this would be extremely appreciated
Thanks
RJL