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
dbailiff
NA
13
0
How to detect changes in a DataGrid control
Aug 6 2004 3:56 PM
I simply want to know if any data has changed in a datagrid control. My first thought was to use an event such as DataGrid.Change. There doesn't seem to be any such event or property that I can use to determine if I need to do an update. More background... I'm using a form with a single control, a DataGrid. The DataGrid is bound to a DataView which is created at runtime when the form is created. The DataView comes from a DataTable/DataAdapter. I can have multiple "views" of the same rows of data because each view is attached to its own form. I need to know if any of the data of any row/column in a datagrid has been changed so that I can force an update or at least prompt the user to update when necessary. Why is there no obvious event or property for this?
Reply
Answers (
2
)
Return a value from a child Form
how to remove a listview item from the timer event