I can not figure out how to add data. There are two datagridview grids
and there are two tables with links in the database.
I save the changes like this:
this.tableataptor.UpdateAll(this.dataset); So, when adding data to the first table and the second one at the same time, it gives an error message, in which it swears at the connection between them. If you save the data first to the first table, the data is saved, and then when you select the row from the first grid, add data to the second grid, then they are saved.
How to save changes to the database?

