Hi! All,
I have created connection, data-adapter and dataset. I have binded all the textboxes and comboBoxes with dataset at design time.
As far as navigation is concern, every thing is good and nice. But, what if user changes any of the values in textboxes or comboBoxes?
I want to display a messagebox asking for a confirmation about the changes the user has made before moving to next record or applying filter, find or sort operations.
The problem is, How to know whether user has changed any of the values, as dsFoo.HasChanges() dosen't work while applying sort, filter or find? Also, as per my experience, dsFoo.HasChanges() gives true value after moving to next record. Hence, the values in Binded Controls are changed when messagebox popups.
Any suggestion regarding approach is also welcomed.
Thanks in adv.
Ritesh.
If you are courageous, listen to your heart. If you are coward, listen to your head.