Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
WinDataSource Sub-Classing
posted

HI,

I have worked through the example of sub-classing the WinDataSource and everything in my app works.

In the last part of the example it says:

"This sample can be scaled and made better so that we can store "Previous State" instances of the records so that if we cancel, we can restore all of the original values to each row. We can provide a test to see if the current record has any changes or has been "dirtied" so that we can skip making a round trip to the Database."

Is there an example of adding this functionality to the code given in the example?

I am especially interested in using the functionality to find dirty rows and maybe even to find the dirty field in the dirty row to save trips to the server.

I would appreciate any assistance in implementing this.

Thanks