Carlos,

I think I found the problem.  If you have a view specified in a a DataSource and try to update a record in a table referenced by that view, the update will fail with the "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." exception.  If you remove the view, the update works with the exact same code and exact same data. 

If you define a new DataSource just for the view, using the same data connection, every thing seems to work OK.

Marv


On 4/18/06, Carlos Guzmán Álvarez <[EMAIL PROTECTED]> wrote:
Hello:
> I found that if I remove the EndEdit() statement, the function works
> as expected.  Sure don't understand why :)

Can you send a test case, please.





--
Carlos Guzmán Álvarez
Vigo-Spain

http://carlosga.blogspot.com/

"When you don't code, you tend to become one of those architects who thinks everything is possible" ( Anders Hejlsberg )



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to