【问题标题】:Cant change the value of the NullValue property in a DataColumn无法更改 DataColumn 中 NullValue 属性的值
【发布时间】:2018-11-28 21:33:53
【问题描述】:

当我尝试将 NullValue 属性更改为 (Empty) 或 (Nothing) 时,我收到以下错误。我该如何解决这个问题?

【问题讨论】:

    标签: vb.net visual-studio dataadapter datacolumn


    【解决方案1】:

    Null 不适用于 int/double/DateTime 类型,但适用于例如string, byte[] 等都可以正常工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-03-08
      • 2016-01-11
      • 2012-06-30
      • 2022-06-12
      • 2019-01-31
      • 1970-01-01
      • 2022-11-07
      相关资源
      最近更新 更多