private void CustomizeRowAttribute(GridViewRow row)
        {
            WorkQueueSummary item = row.DataItem as WorkQueueSummary;

            row.Attributes["canreschedule"] = WorkQueueController.CanReschedule(item.TheWorkQueueItem).ToString().ToLower();
            row.Attributes["canreset"]      = WorkQueueController.CanReset(item.TheWorkQueueItem).ToString().ToLower();
            row.Attributes["candelete"]     = WorkQueueController.CanDelete(item.TheWorkQueueItem).ToString().ToLower();
            row.Attributes["canreprocess"]  = WorkQueueController.CanReprocess(item.TheWorkQueueItem).ToString().ToLower();
        }
        private void CustomizeColumns(GridViewRow row)
        {
            WorkQueueSummary summary = row.DataItem as WorkQueueSummary;

            if (summary != null)
            {
                PersonNameLabel nameLabel = row.FindControl("PatientName") as PersonNameLabel;
                if (nameLabel != null)
                {
                    nameLabel.PersonName = summary.PatientsName;
                }
            }
        }