Thanks Dan,
The working code is therefore...
if (defectItem.PriorityTypeId > 0)
{
this.lblItemPriority.Text = (string) new TypeService.TypeHandler()
.GetPriorityTypes(securityToken)
.Tables[0]
.Rows.Find(defectItem.PriorityTypeId)["Name"];
}
Daniel Green
Explorer Technologies
Support Powered by OnTime 2008