Exemple #1
0
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        OrderModel orderModel = new OrderModel();
        Boolean    selected   = Convert.ToBoolean(ddlStatus.SelectedValue);


        lblResult.Text = orderModel.ChangeOrderStatus(ID, selected);
    }