模板列:

  <asp:TemplateField FooterText="资产配置" HeaderText="资产配置" SortExpression="cAsset_Set">
                <ItemStyle HorizontalAlign="Center" />
                 <HeaderStyle HorizontalAlign="Center" Width="15%" />
                 <ItemTemplate>
                                                <%# Eval("cAsset_Set").ToString().Length>15?Eval("cAsset_Set").ToString().Substring(0,20):Eval("cAsset_Set").ToString()%>
                </ItemTemplate>
 </asp:TemplateField>

相关文章:

  • 2021-11-25
  • 2021-08-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-05
猜你喜欢
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案