我在一个页面中用了两个Repeater控件,其中一个不显示数据,为什么呀?? 我在一个页面中用了两个Repeater控件,其中一个不显示数据,为什么呀?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <div class="ShowTop"> <ul><asp:Repeater ID="ShowBookHit" runat="server" EnableViewState="False"><ItemTemplate><li><a href="BookShow.aspx?bookid=<%#((DataRowView)Container.DataItem)["BookID"] %>" target="_blank"><%#((DataRowView)Container.DataItem)["BookName"] %></a></li></ItemTemplate></asp:Repeater> </ul> </div> <div class="ShowNews"> <asp:Repeater ID="ShowNewZhang" runat="server" EnableViewState="False"> <HeaderTemplate><table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999"> <tr bgcolor="#666666"> <td>小说名称</td> <td>小说最新章节</td> <td>更新时间</td> </tr> </HeaderTemplate> <ItemTemplate> <tr bgcolor="#CCCCCC"> <td><%#((DataRowView)Container.DataItem)["BookID"] %></td> <td><a href="BookShow.aspx?bookid=<%#((DataRowView)Container.DataItem)["BookID"] %>&siteid=<%#((DataRowView)Container.DataItem)["SiteID"] %>&zhangid=<%#((DataRowView)Container.DataItem)["ZhangID"] %>" target="_blank"><%#((DataRowView)Container.DataItem)["ZhangName"] %></a></td> <td><%#((DataRowView)Container.DataItem)["GetTime"] %></td> </tr> </ItemTemplate> <FooterTemplate></table> </FooterTemplate> </asp:Repeater> 上面ID="ShowBookHit" 这个不显示.绝对有数据, 关闭子页面怎么传值给父窗体啊 {大师} 下面的jquery有为什么不执行 FileUpload上传文件的长和宽? .net高手进 如何在页面中插一段被xsl解析的xml。 哪位高手用过ASPXGRID 控件吗? 为什么修改后的数据不能存入数据库 有无办法在使用XmlTextReader时判断某元素下面是否还有子元素? 如果把两个TABLE合并成1个TABLE 那为大哥设计开发过B2B的大型网站,给点经验 calendar和combobox控件提供下载 不同的文件夹存放在同一根文件夹中,安全吗? 请问下VS2005中怎么用IIS时行调试?
<ul>
<asp:Repeater ID="ShowBookHit" runat="server" EnableViewState="False">
<ItemTemplate><li><a href="BookShow.aspx?bookid=<%#((DataRowView)Container.DataItem)["BookID"] %>" target="_blank"><%#((DataRowView)Container.DataItem)["BookName"] %></a></li>
</ItemTemplate>
</asp:Repeater>
</ul>
</div>
<div class="ShowNews">
<asp:Repeater ID="ShowNewZhang" runat="server" EnableViewState="False">
<HeaderTemplate>
<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999">
<tr bgcolor="#666666">
<td>小说名称</td>
<td>小说最新章节</td>
<td>更新时间</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr bgcolor="#CCCCCC">
<td><%#((DataRowView)Container.DataItem)["BookID"] %></td>
<td><a href="BookShow.aspx?bookid=<%#((DataRowView)Container.DataItem)["BookID"] %>&siteid=<%#((DataRowView)Container.DataItem)["SiteID"] %>&zhangid=<%#((DataRowView)Container.DataItem)["ZhangID"] %>" target="_blank"><%#((DataRowView)Container.DataItem)["ZhangName"] %></a></td>
<td><%#((DataRowView)Container.DataItem)["GetTime"] %></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>