Home All Groups Group Topic Archive Search About

TableAdapter Update problem

Author
19 Jun 2006 10:29 AM
Vigj
Hi,
I'm using Autogenerated TableAdapters to manage some data into an sqlserver db
I generated the TableAdatpers and the Datasets using the standard procedure
in VS 2005.

In Asp.net everything is working fine, but in a Windows Form app i have a
problem that i cannot solve
tableAdapter.Update seems, in my opinion, to not commit the data into the DB
(in asp.net the commit seem to be automatic).

As soon as i close the app the data is vanished, nor i can access the just
inserted data from another connection. That's why i suppose commit is not
called. The strange thing is that exactly the same code works in a asp.net
page.

Can someone help me?

AddThis Social Bookmark Button