foreach (var row in selectCustomers) {
if (row.Customer_address == "NORTH") {
Flag = "<span class='label label-success'>OK</span>";
} else if (row.Customer_address == "SOUTH") {
Flag = "<span class='label label-danger'>NOK</span>"; }
}//Display in table<td>@Html.Raw(processFlag)</td>
}
//Display in table
<td>@Html.Raw(processFlag)</td>