New Posts New Posts RSS Feed: when i do some change on BindableList, how can i save it into DB
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

when i do some change on BindableList, how can i save it into DB

 Post Reply Post Reply
Author
monkeyking View Drop Down
Groupie
Groupie
Avatar

Joined: 04-Mar-2009
Location: brisbane
Posts: 68
Post Options Post Options   Quote monkeyking Quote  Post ReplyReply Direct Link To This Post Topic: when i do some change on BindableList, how can i save it into DB
    Posted: 25-May-2009 at 12:56am
i use BindableList as binding source, once i have done some changes on the grid view, how can i save the changes into DB?
Back to Top
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 Posted: 26-May-2009 at 8:49am
Many of the Learning Units give an example,  For example, see "Composing WinForms with User Controls".
 
Here is the code that saves the changes to the DB.
 
 private void mSaveAllChangesToolStripMenuItem_Click(object sender, EventArgs e) {
      this.Validate();
      _savingService.SaveAll();
    }
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down