Re: Syntax error (missing operator) when delete with Commandbuider
- From: "Hawkmoth" <Hawkmouth@xxxxxxxxxxxxx>
- Date: Tue, 14 Jun 2005 08:00:04 -0700
Hi Cor
Call me mister stupid but I'm still have trouble with it.
I was already using AcceptChanges etc on the second copy database but not on
the original.
So I decided it would be best not to copy the database as this seems a waste
of time anyway when I already have access the the dataset as a parameter of
the dataStorage class that I mentioned in my previous post.
I then added the Accept changes etc and it still failed.
I did notice one thing.
There are 9 tables in total in the database and I use a seporate dataAdapter
for each of them. Two of the tables that are earlyer in the routine that
updates them are deleting and updateing correctly.
So I'm a bit confused why it works on these and fails on 2 others. (Some
tables have nothing in).
--
All the best
Hawkmoth
"Cor Ligthert" wrote:
> Hawkmoth,
>
> For this is acceptchanges is for, when you know that your dataset is correct
> processed, than you can do an acceptchanges on the copy of that as well.
> Which deletes the datarows which are marked as deleted actually and does the
> actual changes in the dataset and set all rowstates to "not changed".
>
> I hope this clears it?
>
> Cor
>
>
>
.
- Follow-Ups:
- Re: Syntax error (missing operator) when delete with Commandbuider
- From: Cor Ligthert
- Re: Syntax error (missing operator) when delete with Commandbuider
- References:
- Syntax error (missing operator) when delete with Commandbuider
- From: Hawkmoth
- Re: Syntax error (missing operator) when delete with Commandbuider
- From: Cor Ligthert
- Re: Syntax error (missing operator) when delete with Commandbuider
- From: Hawkmoth
- Re: Syntax error (missing operator) when delete with Commandbuider
- From: Cor Ligthert
- Re: Syntax error (missing operator) when delete with Commandbuider
- From: Hawkmoth
- Re: Syntax error (missing operator) when delete with Commandbuider
- From: Cor Ligthert
- Syntax error (missing operator) when delete with Commandbuider
- Prev by Date: Re: data acquisition with .NET
- Next by Date: Re: Want to write your SQL statements and even stored procedures in pure C#?
- Previous by thread: Re: Syntax error (missing operator) when delete with Commandbuider
- Next by thread: Re: Syntax error (missing operator) when delete with Commandbuider
- Index(es):
Relevant Pages
|
Loading