New Posts New Posts RSS Feed: AspDataSource DB update
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

AspDataSource DB update

 Post Reply Post Reply
Author
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Topic: AspDataSource DB update
    Posted: 14-Oct-2009 at 3:58pm
You should be able to use PersistenceManager.SaveChanges().   You can add this single line of code at the end of InsertEntity, DeleteEntities, and UpdateEntity.  This is mentioned in the documentation in the section on UpdateEntity.
 
Your other alternative is to add a Save button to the form and only save the changes when the user presses the Save button.
Back to Top
vinothvdp View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Sep-2007
Location: India
Posts: 27
Post Options Post Options   Quote vinothvdp Quote  Post ReplyReply Direct Link To This Post Posted: 09-Oct-2009 at 5:45am

Hi,

As per you ASP.NET Apps Using AspDatasource example how can update the entities to DB, now these all changes are happen on local cache only. pls help me  how to Create /update /delete on DB some like windows forms PersistenceManager.SaveChanges method. if you have any example send it me.

Thank you,
Vinoth Kumar.K
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down