3つの要素を格納したドロップダウンリストがあります。
<asp:DropDownList ID="DropDownList4" runat="server" AutoPostBack="True" 
                Height="22px" Width="134px">
                <asp:ListItem>Please Choose</asp:ListItem>
                <asp:ListItem>Yes</asp:ListItem>
                <asp:ListItem>No</asp:ListItem>
            </asp:DropDownList>
ユーザーがドロップダウンで[はい]を選択すると、[はい]がセッションに保存されます。運転手サービスはユーザーに30ドルを請求します。
    Session["IsChauffeurUsed"] = DropDownList4.SelectedItem.Selected;
ユーザーが「はい」を選択した場合、ユーザーが支払う必要のある現在の金額は次のようになります。
    int totalValue = 0;
    int total = 0;
    totalValue = int.Parse(Session["price"].ToString()) * int.Parse(Session["day"].ToString()); 
    Label8.Text = totalValue.ToString();
* Label8.textはプラス30になります(ユーザーがyesを選択した場合)
太字で行き詰まりました。ユーザーが「はい」を選択した場合、totalValueに30を追加する方法がわかりません。皆さんが私を助けてくれることを願っています。乾杯。