Home All Groups Group Topic Archive Search About

Row - BeginEdit and EndEdit -> Why?

Author
4 May 2006 3:30 PM
Vayse
Hi
Why would I use the BeginEdit and EndEdit on a row? The row still updates
without them.
Is it to just make it easier to roll back via CancelEdit?
Thanks
Vayse

Author
4 May 2006 5:34 PM
Cor Ligthert [MVP]
Vayse,

The EndEdit pushes the rows in the other datasources if you have no
rowchange.

Cor

Show quote
"Vayse" <vayse@nospam.nospam> schreef in bericht
news:%239sRo%234bGHA.4932@TK2MSFTNGP03.phx.gbl...
> Hi
> Why would I use the BeginEdit and EndEdit on a row? The row still updates
> without them.
> Is it to just make it easier to roll back via CancelEdit?
> Thanks
> Vayse
>
Author
4 May 2006 8:27 PM
Mark Ashton
You would use BeginEdit/EndEdit if you where changing multiple values that if
changed individually cause constraint violations or underdesired intermediate
changes in the DataViews.

Show quote
"Cor Ligthert [MVP]" wrote:

> Vayse,
>
> The EndEdit pushes the rows in the other datasources if you have no
> rowchange.
>
> Cor
>
> "Vayse" <vayse@nospam.nospam> schreef in bericht
> news:%239sRo%234bGHA.4932@TK2MSFTNGP03.phx.gbl...
> > Hi
> > Why would I use the BeginEdit and EndEdit on a row? The row still updates
> > without them.
> > Is it to just make it easier to roll back via CancelEdit?
> > Thanks
> > Vayse
> >
>
>
>
Author
5 May 2006 2:24 AM
Kevin Yu [MSFT]
Hi Vayse,

BeginEdit/EndEdit is used during data binding. When you're trying to edit a
field and then pushed the changes to the data source of the binding, these
methods are used. They have nothing to do with the update to the database.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Author
5 May 2006 9:20 AM
Vayse
"Kevin Yu [MSFT]" <v-k***@online.microsoft.com> wrote in message
news:XIsoNs%23bGHA.220@TK2MSFTNGXA01.phx.gbl...
> Hi Vayse,
>
> BeginEdit/EndEdit is used during data binding. When you're trying to edit
> a
> field and then pushed the changes to the data source of the binding, these
> methods are used. They have nothing to do with the update to the database.
>
> Kevin Yu
> Microsoft Online Community Support
>
Thanks, I understand now.
Author
8 May 2006 3:12 AM
Kevin Yu [MSFT]
You're welcome.

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)

AddThis Social Bookmark Button