Hi,
Mode : Adapter
Using : MS Visual Studio 2005, .Net 2.0, Infragistics WinGrid
Problem : When deleting a row in the grid, this will remove it from
the collection that row. When saving (adapter.SaveEntityCollection(...)),
that row will not be deleted from the Database.
Is one solution would be to keep a list of deleted entity on the Grid delete event
and pass that list to the server on save (not great)?
With a Dataset, the row is not removed from the collection but marked
as Deleted (RowState). This allow the server to know what has been inserted,
modified or deleted. The Grid is displaying only rows that are not deleted,
even they are in the collection.
What is the best solution?
Thanks
Allen