Monday, August 8, 2011

example of using the text tag in Razor

@if(@item.StartDate() != null) { @item.StartDate().Value.Month <text>/</text> @item.StartDate().Value.Year }

No comments:

Post a Comment