I'm pretty new to .net, so your help is very apprciated.
So I have a DataGridView that has a dataTable data source. This dataGridView is also editable. When a user tries to close an open data open or open a different data file, I would like to ask if the user wants to save his changes, but only if he made changes. I don't know how to detect if the user made changes to the datagridview
Is there a simple property part of the datagridview or maybe datatable, that might tell me this information?
Or do I need to setup an event handler for the first edit to the datagridview?
Thanks for you help,
Matthew
So I have a DataGridView that has a dataTable data source. This dataGridView is also editable. When a user tries to close an open data open or open a different data file, I would like to ask if the user wants to save his changes, but only if he made changes. I don't know how to detect if the user made changes to the datagridview
Is there a simple property part of the datagridview or maybe datatable, that might tell me this information?
Or do I need to setup an event handler for the first edit to the datagridview?
Thanks for you help,
Matthew
Comment