protected void grvNhomChucDanh_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)
        {
            GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem;

            switch (e.DetailTableView.Name)
            {
            case "tbl_ChucDanhChuyenMon":
            {
                int iDNhomChucDanh = Convert.ToInt32(dataItem.GetDataKeyValue("IDNhomChucDanh").ToString());
                e.DetailTableView.DataSource = _entities.GetAllChucDanh().Where(o => o.IDNhomChucDanh == iDNhomChucDanh);
                break;
            }
            }
        }