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
mmehta
NA
12
0
DataBase update on form changing
May 25 2004 11:36 AM
I have a form with a dataset in which the user adds data. If the user tries to close the form, I want to capture the changes made to the dataset (and havnt been written already to the table) and update the table accordingly. For some reason I cannot capture the changes made to the dataset. How do I do this? Here is my form closing event --> private void DivFrmClosing(object sender, System.ComponentModel.CancelEventArgs e) { ..... DataSet changedData = dataSet11.GetChanges(); if (changedData != null) dbUpdate(); // method which updates database ..... } changedData remains null even if I have uncommitted data in my dataset. Please help!!
Reply
Answers (
1
)
date time picker
MSI Install