Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Do a Calculated Column?
Message
De
20/01/2007 18:20:56
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
How To Do a Calculated Column?
Divers
Thread ID:
01187444
Message ID:
01187444
Vues:
75
I have a table with distance and time and wanted to add a "calculated column" to figure the speed dynamically on forms and in calculations, but haven't found a good way to do it.

First shot was adding the calculated column to the SQL retreival command in the BO, but that never got updated, even after saving a record.

Next I tried adding an "expression column" to the dataset in in the HookPostGetData method of the BO. That got updated when I saved the data, but not before. The displayed value on the form and the value used in expressions in the code did not change until I saved the record.

I tried adding a property to the business entity object, but then I couldn't bind a control to it.

Any suggestions for how to get this to work without saving the record?

...Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform