<asp:Repeater>标签不能显示数据是什么原因
我显示死的数据不是从数据库里取出来的<%@ControlLanguage="C#"AutoEventWireup="true"CodeFile="FuncList.asc...
我显示死的数据不是从数据库里取出来的
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FuncList.ascx.cs" Inherits="UserControls_FuncList" %>
<link href="CSS/Index.css" rel="stylesheet" type="text/css" />
<asp:Repeater ID="repParent" runat="server" OnItemDataBound="repParent_ItemDataBound">
<ItemTemplate>
<table>
<tr class="dd">
<td id="tdd" onclick="displayname_onclick(this)" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)" style="filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#ccffff,endColorStr=#800000FF);">
<img id="img1" src="Images/Index/up_disabled.gif" alt=""/>
<b><asp:Literal ID="liDisplayNameParent" runat="server" Text='我的工作' ></asp:Literal></b>
<asp:HiddenField ID="hdNodeId" runat="server" Value='work' />
</td> </tr> </table> </ItemTemplate></asp:Repeater><link href="CSS/DeptStyle.css" rel="stylesheet" type="text/css" /> 展开
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FuncList.ascx.cs" Inherits="UserControls_FuncList" %>
<link href="CSS/Index.css" rel="stylesheet" type="text/css" />
<asp:Repeater ID="repParent" runat="server" OnItemDataBound="repParent_ItemDataBound">
<ItemTemplate>
<table>
<tr class="dd">
<td id="tdd" onclick="displayname_onclick(this)" onmouseover="mouseOver(this)" onmouseout="mouseOut(this)" style="filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#ccffff,endColorStr=#800000FF);">
<img id="img1" src="Images/Index/up_disabled.gif" alt=""/>
<b><asp:Literal ID="liDisplayNameParent" runat="server" Text='我的工作' ></asp:Literal></b>
<asp:HiddenField ID="hdNodeId" runat="server" Value='work' />
</td> </tr> </table> </ItemTemplate></asp:Repeater><link href="CSS/DeptStyle.css" rel="stylesheet" type="text/css" /> 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询