Spaghetti Tom
Friday, September 9, 2011
use conditional logic within @Html.Raw
<tr @Html.Raw(foo == row["Name"].ToString() ? "class=\"shaded\"" : string.Empty)>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment