最简单的方式
<%# Bind("field_name") %>
带格式
<%# DataBinder.Eval(Container.DataItem, "field_name", "{0:P0}") %>
不带格式
<%# DataBinder.Eval(Container.DataItem, "field_name") %>
做些运算
<%# string.Format("{0:P0}", 0.7*Convert.ToDouble(DataBinder.Eval(Container.DataItem, "field_name"))) %>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案