Information générale
Catégorie:
The Mere Mortals .NET Framework
But then I can only save the data to one of the two tables, correct?
If I save it to the second table afterwards, the rowstate property has changed, and the data doesn't get saved. (because all the fields are "unchanged")
Of course I could copy the datatable before saving it, then save the copy to the first table, make a new copy of the datatable and save that to the second table, but that doesn't seem like "the right way to do it". I tried this and it works, but then deleting a record from the grid is still a problem.
It seems to me that I can't find the proper way to do this.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement