“System.Web.UI.WebControls.ListViewItem”不包含“DataItem”的定义
<asp:ListView ID="listView" runat="server" OnItemDataBound="nav_1_Bound">
<LayoutTemplate>
<asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
</LayoutTemplate>
<ItemTemplate>
<div class="newTownBrowse_header">活动总标题:<%#Eval("title") %></div>
<asp:Repeater ID="nav_2" runat="server">
<ItemTemplate>
<div class="newTownBrowse_box">
<dl class="newTownBrowse_item">
<dt><div class="newTownBrowse_item_img"><img src='<%#Eval("source") %>' alt="" width="185" height="211"></div></dt>
<dd><a href="../xcylCont.aspx?id=<%#Eval("id") %>&uid=<%#Eval("uid") %>&tab=15"><%#Eval("title") %></a></dd>
</dl>