当前位置:编程学习 > C#/ASP.NET >>

“asp:ListItem”的“Text”属性不允许子对象

源错误: 


行 143:                                                <asp:ListItem Value="鍚?>鍚?/asp:ListItem>
行 144: </asp:DropDownList>
行 145: <asp:Button id="btCommend" runat="server" Text="鏌ャ€€璇? onclick="btCommend_Click"></asp:Button></TD>
行 146: </TR>
行 147: <TR>
 

--------------------编程问答-------------------- <asp:ListItem Text="showValue" Value="realValue"></asp:ListItem>
或者
<asp:ListItem Value="realValue">showValue</asp:ListItem> --------------------编程问答--------------------
引用 1 楼 carryontilltomorrow 的回复:
<asp:ListItem Text="showValue" Value="realValue"></asp:ListItem>
或者
<asp:ListItem Value="realValue">showValue</asp:ListItem>

补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,