c# 前端写代码的情况

<%for(int i=0;i<list_model.Count;i++)
{ %>
<div style=" padding-left:35px;padding-right:35px; background-color:white; margin-top:10px; height:160px; ">

<div id="div_time" style="height:42px;padding-top: 30px;">
<span><%=list_model[i].AppointmentDate.ToString ("yyyy-MM-dd") %></span><span><%= Wisdom.JPClient.WeiXin.Utility.CommonUtility.CaculateChineseWeekDay(list_model[i].AppointmentDate.Year,list_model[i].AppointmentDate.Month,list_model[i].AppointmentDate.Day)%></span><span><%=list_model[i].Appointmenttime %></span>
</div>
<hr style=" 100%;color:#E0E0E0;"/>
<div id="div_info" style="height:52px;padding-top: 20px;"><span><%=list_model[i].CoachName %></span><span><%=list_model[i].CoachTel %></span><span id="wancheng" style="display:none"></span><span id="quxiao" style="display:none"></span> <asp:Button ID="btn_SignUp" runat="server" Text="取消预约" class="wzui-button wzui-button-primary " Style="margin-bottom:20px;background-color:#1fd163;60px;float:right;" /></div>
</div>
<%} %>

原文地址:https://www.cnblogs.com/muxueyuan/p/5284065.html