protected void chkAccess_CheckedChanged(object sender, EventArgs e)
    {
        try
        {
            CheckBox    chkAccess = (sender as CheckBox);
            GridViewRow row       = chkAccess.NamingContainer as GridViewRow;

            int retVal = BLL_FBM_Report.FBM_READ_ACCESS_RIGHT_SAVE(UDFLib.ConvertIntegerToNull(((Label)row.FindControl("lblID")).Text)
                                                                   , UDFLib.ConvertIntegerToNull(((Label)row.FindControl("lblRankID")).Text)
                                                                   , Convert.ToInt32(Session["USERID"])
                                                                   , ((CheckBox)row.FindControl("chkAccess")).Checked == true ? 1 : 0);

            BindFBMAccessRight();

            UpdPnlGrid.Update();
        }
        catch (Exception ex)
        {
            UDFLib.WriteExceptionLog(ex);
        }
    }