Re: Auto update data on RowChanged
- From: "Marina" <someone@xxxxxxxxxx>
- Date: Tue, 30 Aug 2005 15:32:09 -0400
I am guessing when the Action is Changed, but not the other ones.
You will have to experiment.
"Wigno" <Wigno@xxxxxxxxx> wrote in message
news:pan.2005.08.30.18.49.28.773952@xxxxxxxxxxxx
> On Tue, 30 Aug 2005 14:38:23 -0400, Marina wrote:
>
>> It is probably because calling Update, commits the data to the rows by
>> calling AcceptChanges. Which in turn fires the RowChanged event.
>>
>> Check the Action property of the arguments, and only do the Update at the
>> right time.
>>
>> "Wigno" <Wigno@xxxxxxxxx> wrote in message
>> news:pan.2005.08.30.16.33.37.858848@xxxxxxxxxxxx
>>> On Tue, 30 Aug 2005 18:19:17 +0200, Cor Ligthert [MVP] wrote:
>>>
>>>> Wigno,
>>>>
>>>>> If i put mySQLDataAdapter.Update(myDataTable) in a
>>>>> myDataTable_RowChanged
>>>>> event i have strange behavior
>>>>>
>>>> What do you call a strange behavior?
>>>>
>>>> Comes there smoke out of the computer?
>>>>
>>>> Cor
>>>
>>> When i call mySqlDataAdapter.Update(myDataTable) in
>>> myDataTable_RowChanged the datatable fires another RowChanged event and
>>> another's one until the exception a datareader is already open .....
>>>
>>>
>>>
>
>
> What is the right time?
>
>
>
>
>
>
.
- References:
- Auto update data on RowChanged
- From: Wigno
- Re: Auto update data on RowChanged
- From: Cor Ligthert [MVP]
- Re: Auto update data on RowChanged
- From: Wigno
- Re: Auto update data on RowChanged
- From: Cor Ligthert [MVP]
- Re: Auto update data on RowChanged
- From: Wigno
- Re: Auto update data on RowChanged
- From: Marina
- Re: Auto update data on RowChanged
- From: Wigno
- Auto update data on RowChanged
- Prev by Date: Re: transaction with unknown nbr of commands
- Next by Date: Question about DataAccess Block
- Previous by thread: Re: Auto update data on RowChanged
- Next by thread: Re: Auto update data on RowChanged
- Index(es):