HighTechTalks DotNet Forums  

tableadapters, where is my concurrency exception?

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss tableadapters, where is my concurrency exception? in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old   
Cor Ligthert [MVP]
 
Posts: n/a

Default Re: tableadapters, where is my concurrency exception? - 09-01-2006 , 01:30 PM






Troy,

I should have know that you are a Dutchman so opionated as you are.

However, you check that my statement is correct.

I only attached the table to the database and it did it for the rest as you
told.

Did you attach the table and tried it again?

:-)

Cor

<troy (AT) makaro (DOT) com> schreef in bericht
news:1157061969.780642.86560 (AT) e3g2000cwe (DOT) googlegroups.com...
Hi Cor, I just updated my computer with the hotfix 915880 from
Microsoft and you are correct, It doesn't work. FYI, I am Dutch!
Although I was born in Canada and only speak english

Troy

Cor Ligthert [MVP] wrote:
Quote:
Troy ,

I don't think so,

If I was using as you had showed, (what was fine for me, I never did it
that
way), than the update was *not* processed. Because I always use a
datatable
attached to the Server I have attached that created one.

In that case when I set a breakpoint before the update, changed it as you
wrote and went on, I got a concurrency error (nd when I did not change it
not)

"Inbreuk op gelijktijdige uitvoering: 0 van de verwachte 1 records zijn
beïnvloed door de UpdateCommand."

If you don't believe me, ask somebody who speaks Dutch

To summarize with the not connected mdf file the update was completely not
processed.

I did it now in a windowform, but that did it either with a standalone mdf
as I have tested this.
I have not tested it with a consoleapplication but I expect the same
results.

I hope you get the same result.

Cor

troy (AT) makaro (DOT) com> schreef in bericht
news:1156918959.393633.39410 (AT) p79g2000cwp (DOT) googlegroups.com...
I think I found the problem. See:
http://search.support.microsoft.com/...d=8291&sid=200
I haven't been able to get the hotfix yet to try it though.

[snip]




Reply With Quote
  #22  
Old   
troy@makaro.com
 
Posts: n/a

Default Re: tableadapters, where is my concurrency exception? - 09-01-2006 , 05:45 PM







Cor Ligthert [MVP] wrote:
Quote:
Troy,

I should have know that you are a Dutchman so opionated as you are.
LOL. If I had a gun right now I would shoot myself in the head. It
works fine!
The explorer window in VS2005 opens up Test.mdf in the root folder but
when the code is run, VS copies the Test.mdf into the debug folder and
uses that copy!

[snip]



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.