private void loadAttachments()
    {
        DataTable dt = WorkloadItem.WorkItem_GetAttachmentList(workItemID: this.WorkItemID);

        if (dt != null)
        {
            dc = dt.Columns;

            if (dt.Rows.Count > 0)
            {
                spanRowCount.InnerText     = dt.Rows.Count.ToString();
                gridAttachments.DataSource = dt;
                gridAttachments.DataBind();
            }
        }
    }