<%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=" width: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;width:60px;float:right;" /></div>
</div>
<%} %>
转载于:https://www.cnblogs.com/muxueyuan/p/5284065.html