Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 calling myDataSet.AcceptChanges before Update()

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-09-09 : 07:10:51
can we call myDataSet.AcceptChanges before calling mySqlDataAdapter.Update()

Can u explain to me why we can or can't do so pls?

Thank you

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2006-09-09 : 08:06:30
accept changes sets all row states unchanged.
so if you do adapter.Update() after it nothing gets updated since there's no more information on row states.



Go with the flow & have fun! Else fight the flow
blog thingie: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -