public static string GetItemName(EMDataSet.POItemTblRow row) { if (row == null) return null; if (row.IsItemIDNull()) return ""; string itemName = row.ItemTblRow.ItemName; if (!row.IsFinishIDNull()) { itemName = GetFinishType("Finish",row.FinishID) + " " + itemName; } if (!row.IsTreatmentIDNull()) { itemName = itemName + " " + GetFinishType("Treatment",row.TreatmentID); } return itemName; }