标签:
for (var year = new DateTime(DateTime.Now.Year - 10, 1, 1); year < new DateTime(DateTime.Now.Year + 1, 1, 1); year = year.AddYears(1)) { <option value="@year.ToString("yyyy")">@year.ToString("yyyy")</option> }
标签:
原文地址:http://www.cnblogs.com/llxy/p/4187328.html