PC Review


Reply
Thread Tools Rate Thread

C# and saving data to Access Table

 
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      27th Jan 2007
The following code geenrated by C# automatically is supposed to save changes
on a form with a dataset to the underlying table. For some reason it will not
work with Access or SQL. Any ideas why? I get not error, it appears to update
the table, but it does not when you look at the table or reload the form.

private void customerBindingNavigatorSaveItem_Click(object sender,
EventArgs e)
{
this.Validate();
this.customerBindingSource.EndEdit();

this.customerTableAdapter.Update(this.accessTest1DataSet.Customer);

}

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving data in Access table with VB ? Bauhaus Microsoft Access 3 4th Jul 2007 04:49 PM
Saving data in Access table using VB ? Bauhaus Microsoft Access Database Table Design 1 3rd Jul 2007 09:51 PM
Saving data in Access table with VB ? Bauhaus Microsoft Access Form Coding 1 3rd Jul 2007 09:42 PM
Saving data in Access table using VB ? Bauhaus Microsoft Access Forms 1 3rd Jul 2007 09:41 PM
ACCESS - Table data disappearing after saving =?Utf-8?B?RXZlIGF0IFJCQw==?= Microsoft Access Getting Started 6 2nd Jun 2007 03:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.