【发布时间】:2009-05-28 10:12:15
【问题描述】:
我只想在 Gridviews ItemTemplate 中显示 100 个字符。当我单击编辑按钮时,我想使用 EditItemTemplate 显示所有绑定值。
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Address") %>'> </asp:Label>
</ItemTemplate>
如何将标签文本限制为 100 个字符?
【问题讨论】:
标签: asp.net