Returns an DataTable called TResourceIds with ResourceId and HasValues fields where the ResourceId is formatted for HTML display.