Calculation in code behind

前端 未结 5 1184
悲哀的现实
悲哀的现实 2021-01-28 04:50

Chauffeur service cost $30. It is an option to user whether they want the service or not. When they already select car, and day of rental, I store it in session.



        
5条回答
  •  [愿得一人]
    2021-01-28 05:18

    Why don't you create a custom class, add the properties like Car, Price, Day, ChaffterUsed etc. Create the object of the class, fill the properties and store the object into session. On next page, load the object from session and use it.

提交回复
热议问题