Hello:
I am using an unbound column with a Style set to Checkbox to indicate if a User Account is locked or not.
If the Locked_Date is not null, then the user_account is locked and this is checked. Otherwise, it's not checked.
This I do after I fill my dataset. But when I close the form, it tells me that I have changed the data and if I wanted to commit the changes (I've implemented the code that determines if the dataset has changed or not.).
But the problem is that the data has not changed. It's just that I have filled the unbound column with a calculated value.
Any idea how I can prevent it from determining that the dataset has changed since it was filled?
Venki
Hello ,
First you should commit changes of your dataset after you populate it with data. Then you could use HasChances() method of the DataSet in order to check if there is any changes onto the Dataset.
Please let me know if you have any further questions.
Hristo:
I guess that's one creative way of getting around the problem. If only we can differntiate between bound and unbound columns! That way, changes to the unbound columns do not set the statusof the dataset updated.
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.