O
Olav Tollefsen
I'm creating an ASP.NET e-commerce web site and I have to conditionally
(depending on site / user settings) display prices either excluding or
including tax. Prices are typically read from a database (where also the tax
rates are stored) various places in the code and typically (but now always)
the values are returned in DataSets which are bound to controls and
displayed to the user.
What would be the most elegant way to implement the logic to add tax to the
values presented to the user depending on some kind of setting?
Olav
(depending on site / user settings) display prices either excluding or
including tax. Prices are typically read from a database (where also the tax
rates are stored) various places in the code and typically (but now always)
the values are returned in DataSets which are bound to controls and
displayed to the user.
What would be the most elegant way to implement the logic to add tax to the
values presented to the user depending on some kind of setting?
Olav