<%= Html.DropDownList(ViewData["DDLName"].ToString(), Model) %> <% foreach (var status in Model) { if (status.Text.Equals("Cancelled")) { ....... coding... } } %>
if (status.Text.Equals("Cancelled")) { status.Text = "<font color="red">"+status.Text+"</font>" }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)