强类型数据集字符串值为空

强类型数据集字符串值为空

本文介绍了序列化时,强类型数据集字符串值为空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个强类型的数据集,我们将其中一列从int32更改为string.现在,当数据集到达中间层时,该列为空.

我在调用中间层之前检查了该列,该值很好.一旦到达中间层,我将再次检查它,并且该值现在为null.所有其他列都可以正常工作-包括int32,字符串和日期,仅此一列,我们将类型更改为string on.

有任何想法吗?

I have a strongly typed dataset that we changed one of the columns from int32 to string. Now when the dataset reaches the middle layer, the column is null.

I checked the column right before we call the middle layer and the value is fine. I check it again as soon as we reach the middle layer and the value is now null. All other columns work fine - including int32, string and date, its just this one column that we changed the type to string on.

Any ideas???

推荐答案


这篇关于序列化时,强类型数据集字符串值为空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 05:56