iamsuperman
New member
- Joined
- Aug 17, 2005
- Messages
- 3
Hi all,
I have a DataGrid inside a Windows Form. I know that using datagrid.hasChanges will return a boolean value indicating whether changes have been made to the datagrid.
But the problem I am having is that:
this hasChanges method didnt return a boolean value of True when the user had made changes to a cell in the datagrid BUT he didnt not press "ENTER" or click on other components on the windows form to "confirm" his changes.
What I want is that, even the user did not "confirm" his changes, the changes that he had made would also be detected so that a message dialog box will pop up asking him if he wants to save his changes.
Hope you guys understand what I mean.
How can I solve this problem?
Many thanks to you all.
I have a DataGrid inside a Windows Form. I know that using datagrid.hasChanges will return a boolean value indicating whether changes have been made to the datagrid.
But the problem I am having is that:
this hasChanges method didnt return a boolean value of True when the user had made changes to a cell in the datagrid BUT he didnt not press "ENTER" or click on other components on the windows form to "confirm" his changes.
What I want is that, even the user did not "confirm" his changes, the changes that he had made would also be detected so that a message dialog box will pop up asking him if he wants to save his changes.
Hope you guys understand what I mean.
How can I solve this problem?
Many thanks to you all.