dataSet.GetXml() doesn't return xml for null or blank columns

后端 未结 4 935
名媛妹妹
名媛妹妹 2021-01-06 00:51

When I call dataSet.GetXml() I don\'t get any xml returned for columns with null or blank values. Is there a simple, efficient way to get around this? An example of the prob

4条回答
  •  没有蜡笔的小新
    2021-01-06 01:45

    The problem is detailed in this Microsoft KB article: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q317961. See this previous SO question for more detail: DataSet.GetXml not returning null results.

    I don't think there is a good solution to your direct question. Given context, there may be another way to approach the problem though.

提交回复
热议问题