[Mono-list] Problems with ado.net

Arx Henrique arxcruz at gmail.com
Fri Jan 20 13:45:52 EST 2006


Hi all,

I've try to execute a SWF program with ado.net. the program compile
fine, and execute fine too, but when i click on button to update or
create a new row, throw this exception:

Unhandled Exception: System.InvalidOperationException: Auto SQL
generation during Insert requires a valid SelectCommand.
in <0x0097f> System.Data.Common.DbDataAdapter:Update
(System.Data.DataRow[] dataRows, System.Data.Common.DataTableMapping
tableMapping)

i believe that's not problem with swf but there's problem with ado.net
or my code is wrong

my version of mono is:

arx at bakunin:~$ mono --version
Mono JIT compiler version 1.1.13.1, (C) 2002-2005 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal

using debian unstable.

the code is attached

Cheers

Arx Cruz

--
"A fé remove montanhas, mas eu prefiro a dinamite"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.cs
Type: text/x-csharp
Size: 5170 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060120/3f2dcf84/Main-0001.bin


More information about the Mono-list mailing list