日期:2014-05-17 浏览次数:20361 次
<%
int i_count = 0;
foreach (GridViewRow row in this.GridView1.Rows)
{
if (i_count%4 == 0)
{
%>
<div>.1..<div>
<%
}
else
{
%>
<div>.2..<div>
<%
}
i_count ++ ;
}
%>
{assign var="i_count"}
{foreach from=$row item=item}
{if $i_count mod 4}
<div>.2..<div>
{else}