Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有绑定字段的网格。我已经设置了Item_style-wrap=true。但它仍然没有为我包装数据。可能是什么问题?
Item_style-wrap=true
网格代码:
<asp:BoundField DataField="Reason" HeaderText="Reason For Request" ItemStyle-Wrap="true" ItemStyle-Width="10%" />
尝试这个:
<asp:BoundField> <HeaderStyle Wrap="true" /> <ItemStyle Wrap="true" /> </asp:BoundField>