Calculated Fields Example

Purpose

This example shows how to handle calculated fields server side and client side.

Examine the Code

Server side fields are processed via the BinAdapter's OnWriteFieldValue event handler (see CalcFieldsService_Impl).

On the client side, they are handled as you would expect via dtCustomers.OnCalcFields (see CalcFields_ClientData). Note though, how the client field actually references the server value.