TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pelumi Eluyera
NA
24
9k
Update records from Local database Desktop application.
Mar 31 2015 9:29 AM
Afternoon, I am unable to update records from a database with this code.
Here is the code I have tried and does not work .If you could point me in the right direction that will be appreciated.
private void UpdateDatabase_Clock (object sender, EventArgs e)
{
DialogResults update;
update = MessageBox.Show ("Are you sure you want to update this record" "Delete Record" , MessageBoxButtons.OKCancel);
if (update == System.Windows.Forms.DialogResults.OK)
{
Try
{ tbl_AppointmentsTableAdapter.update(this.datasetnumber1.TBL_Appointments);
tbl_EngineerTableAdapter.Update (this.datasetNumber1.TBL_Engineers);
_selectedAppointmentRow = null;
}
catch (Exception ex)
{
MessageBox.Show("Unable to delete the record due to the following error; " + ex.Message);
}
}
}
Reply
Answers (
1
)
Msaccess Connect To Visual Studio
The orders after 12 am to 7 am not show timer problem