everyone, I have two tables (Project_Info and Task_Info). I want the Task_Info_Datarepeater to update its data after I brought changes in tasks and returned in project form. Keep in mind that the Task_info_Datarepeater is located at project form. Screenshot
Asked
Active
Viewed 423 times
0
-
What code have you tried? – Carl Prothman May 23 '15 at 19:02
-
I copied the code in the Form_load() of Coordinator2 form, which works, but first gives an error. – A.J.Mukhbet May 24 '15 at 16:08
-
I copied the code in the Form_load() of Coordinator2 form, which works, but first gives an error. "Cannot clear table Project Info because ForeignKeyConstraint FK_Task Info_Project Info enforces constraints and there are child rows in Task Info." It looks like, the Cascade on Delete causes this, but I need the cascade option for this relationship. it should not give this error, because I didn't try to delete a record individually, but just tried to refill the table adapter with updated data. and even tried to dispose and clean the table adapter, still gives the same error. – A.J.Mukhbet May 24 '15 at 16:21