请问关于c的具体应用场景有哪些?
- 内容介绍
- 文章标签
- 相关推荐
本文共计149个文字,预计阅读时间需要1分钟。
当我的检索工具检测到包含null或DateTime字段的行时,我会收到错误:`srRow.Closed_Date` 抛出了类型为 `System.Data.StrongTypingException` 的异常。我应该如何正确处理这些问题?您可以在检索值之前,检查该列中是否存在空值。
当我检索具有null DataTime字段的行时,我收到此错误:‘srRow.Closed_Date’ threw an exception of type ‘System.Data.StrongTypingException’
我该如何正确处理这些?
您可以在检索值之前检查该列中的空值.if (!srRow.IsClosed_DateNull()) { myDate = srRow.Closed_Date; }
本文共计149个文字,预计阅读时间需要1分钟。
当我的检索工具检测到包含null或DateTime字段的行时,我会收到错误:`srRow.Closed_Date` 抛出了类型为 `System.Data.StrongTypingException` 的异常。我应该如何正确处理这些问题?您可以在检索值之前,检查该列中是否存在空值。
当我检索具有null DataTime字段的行时,我收到此错误:‘srRow.Closed_Date’ threw an exception of type ‘System.Data.StrongTypingException’
我该如何正确处理这些?
您可以在检索值之前检查该列中的空值.if (!srRow.IsClosed_DateNull()) { myDate = srRow.Closed_Date; }

