public void loadData(string key = "")
        {
            try
            {
                SysDepartmentBLL companybll = new SysDepartmentBLL();
                var rows = companybll.loadData(key);

                if (rows == null || rows.Count < 1)
                {
                    untCommon.InfoMsg("没有任何数据!");
                    return;
                }

                dataGridView.DataSource = rows;
            }
            catch (Exception ex)
            {
                untCommon.ErrorMsg("部门管理加载数据异常:" + ex.Message);
            }
        }