dim dsXml as new DataSet
dsXml = someMethodthatReturnDatasetValue
dim sXml as string
sXml = dsXml.getXml().toString
返回结果类似于
<NewDataSet>
<Table>
<IID>8858</IID>
<IsActive>true</IsActive>
<Remark>g</Remark>
</Table>
</NewDataSet>
我的预期结果是返回如下所示。但我的实际结果不会返回对,我该怎么做才能返回名称对,即使我的值为空?
<NewDataSet>
<Table>
<IID>8858</IID>
<Name></Name>
<IsActive>true</IsActive>
<Remark>g</Remark>
</Table>
</NewDataSet>