ItemDataBound事件中写
        'modi by mingfei 20070712防止身份证号导出时变换成科学计数cell(4)为字符型数字
        If (e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem) Then
            e.Item.Cells(4).Attributes.Add("style", "vnd.ms-excel.numberformat:@")
        End If

相关文章:

  • 2021-12-01
  • 2021-12-01
  • 2021-12-12
  • 2021-11-19
  • 2021-06-12
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2022-01-07
  • 2021-12-23
  • 2022-03-03
  • 2022-12-23
  • 2022-02-02
相关资源
相似解决方案