Why Adapter.Update(DataTable) causes AcceptChanges for whole DataSet? - 06-09-2006 , 03:54 AM
I am a newbie with dataset. May be I do somthing wrong with dataset?
I have a dataset with many tables (about 50 tables). All tables are linked
with foreign key references.
User inserts new rows in DataTables. When I do update to db I think I should
update tables in order they are linked. But when I call
Adapter.Update(MyMainDataTable) it causes in linked tables all rows with a
RowState Added become Unchanged.
I don`t understand why this happens. How can I update my linked tables?
May be I am not aware of some simple things?
Thanks in adv.
Re: Why Adapter.Update(DataTable) causes AcceptChanges for whole DataSet? - 06-09-2006 , 04:16 AM
Forget it. I found it.
Relational Accept/RejectRule was settled to Cascade.
"Serg" <serg_nospam_ (AT) alef (DOT) ru> wrote
|Thread Tools||Search this Thread|