62,268
社区成员
发帖
与我相关
我的任务
分享
<mobile:Form ID="Form11" Runat="server">
<mobile:DeviceSpecific ID="DeviceSpecific1" Runat="server">
<Choice Filter="isjscript" Xmlns="http://schemas.microsoft.com/mobile/chtml10template">
<HeaderTemplate>
梦付宝>>收支记录
<table>
<%for (int i = 0; i < dt.Rows.Count; i++)
{ %>
<tr>
<td><%=dt.Rows[i][0].ToString() %></td>
<td><%=dt.Rows[i][3].ToString() %></td>
<td>77</td>
</tr>
<%} %>
</table>
</HeaderTemplate>
</Choice>
</mobile:DeviceSpecific>
</mobile:Form>
int year = DateTime.Now.Year;
int month = DateTime.Now.Month;
for (int i = 0; i < 6; i++)
{
List7.Items[i].Text = year.ToString() + "年" + month.ToString() + "月";
List7.Items[i].Value = year.ToString() + "," + month.ToString();
if (month == 1)
{
month = 12;
year = year - 1;
}
else
{
month = month - 1;
}
}