A
Andrea Müller
Hello,
I have one problem.
Include my project is a dataset with tables.
During my process I create a new temporary table.
The dataset use my DataGrid Control.
The use delete now one, two or more rows.
After that the operator press <save> and I create the new table with
some Reference,
from the table, which the operator deleted.
I go through the table and I see all deleted rows.
Why?
What can I do?
I need not Transmit and Rollback...
If the operator deletes the lines, these are to be deleted.
dataSetDatabase.Query ?? it does not give
dataSetDatabase.ReQuery ?? it does not give
dataSetDatabase.Update ?? it does not give
I need AccepteChanges, yes or no?
A bad solution is that.
My attempt.
dataSetDatabase.tblSequence.Clear();
dataSetDatabase.WriteXml( filename );
dataSetDatabase.Clear();
dataSetDatabase.ReadXml( filename );
create the new table.
Can everybody help me?
Thanks for help.
Regards,
Andrea
I have one problem.
Include my project is a dataset with tables.
During my process I create a new temporary table.
The dataset use my DataGrid Control.
The use delete now one, two or more rows.
After that the operator press <save> and I create the new table with
some Reference,
from the table, which the operator deleted.
I go through the table and I see all deleted rows.
Why?
What can I do?
I need not Transmit and Rollback...
If the operator deletes the lines, these are to be deleted.
dataSetDatabase.Query ?? it does not give
dataSetDatabase.ReQuery ?? it does not give
dataSetDatabase.Update ?? it does not give
I need AccepteChanges, yes or no?
A bad solution is that.
My attempt.
dataSetDatabase.tblSequence.Clear();
dataSetDatabase.WriteXml( filename );
dataSetDatabase.Clear();
dataSetDatabase.ReadXml( filename );
create the new table.
Can everybody help me?
Thanks for help.
Regards,
Andrea