protected void onUpdate(object source, CommandEventArgs e)
    {
        HiddenFlag.Value = "Edit";
        OperationMode    = "Edit Question";

        DataTable dt = new DataTable();

        dt = objBLL.Get_Crew_HandOverQuestion(Convert.ToInt32(e.CommandArgument.ToString()));
        txtQuestionID.Text    = dt.Rows[0]["ID"].ToString();
        txtQuestion.Text      = dt.Rows[0]["HANDOVER_QUESTION"].ToString();
        ddlRank.SelectedValue = dt.DefaultView[0]["CREW_RANK"].ToString() != "" ? dt.DefaultView[0]["CREW_RANK"].ToString() : "0";
        if (dt.DefaultView[0]["IsCheckList"].ToString() == "1")
        {
            chkCheckList.Checked = true;
        }
        else
        {
            chkCheckList.Checked      = false;
            ddlDataType.SelectedIndex = 1;
        }


        ddlDataType.SelectedValue = dt.DefaultView[0]["Data_Type"].ToString() != "" ? dt.DefaultView[0]["Data_Type"].ToString() : "0";
        ddlRank.Enabled           = false;

        string AddSingoffReasonmodal = String.Format("showModal('divadd',false);");

        ScriptManager.RegisterStartupScript(Page, Page.GetType(), "AddSingoffReasonmodal", AddSingoffReasonmodal, true);
    }