Re: Transaction and RowState problem
- From: "perspolis" <rezarms@xxxxxxxxxxx>
- Date: Thu, 2 Nov 2006 08:56:47 +0330
I want to keep the data that user has entered..
In master table after inserting I return the Identity column.
If I set the UpdatedRowSource InsertCommand to UpdateRowSource.None it
keeps the RowState but dosen't update Identoty column.
"Dave Sexton" <dave@jwa[remove.this]online.com> wrote in message
news:%23PGO0Cd$GHA.3380@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
Try calling DataRow.RejectChanges().
--
Dave Sexton
"perspolis" <rezarms@xxxxxxxxxxx> wrote in message
news:u7j1cgc$GHA.3536@xxxxxxxxxxxxxxxxxxxxxxx
Hi all
I have a master detail table which I use them in Transaction to Update
them.
in some cases the detail table generates error and I Rollback transaction
but RowState of master table dosen't go back to previous state and no
data
has entered in database yet but in my master table in memory it has
data..
????
how can I change RowState of master table to previous RowState before
begining Save.
thanks in advance
.
- Follow-Ups:
- Re: Transaction and RowState problem
- From: Dave Sexton
- Re: Transaction and RowState problem
- References:
- Transaction and RowState problem
- From: perspolis
- Re: Transaction and RowState problem
- From: Dave Sexton
- Transaction and RowState problem
- Prev by Date: Need help on Regular Expression
- Next by Date: Re: immutable
- Previous by thread: Re: Transaction and RowState problem
- Next by thread: Re: Transaction and RowState problem
- Index(es):
Relevant Pages
|