Hi,
I have one Access database with one table ForExample: MYTable with fields called Type, Version, data, Value.
now i would like to create an XML file with this MYTable value using VB.NET 2005.
For example:
But here if i donot have any value entered for spefic column it wont appear on that node.
for Example in first row "Value" tag is not there becase theere is no data in that field for that row.
but if i inserted blank value to that field it should appear there for example "Version" tag on 2nd and 3rd node
Please, Can any one help me with this?
Thanks in advance.
I have one Access database with one table ForExample: MYTable with fields called Type, Version, data, Value.
now i would like to create an XML file with this MYTable value using VB.NET 2005.
For example:
Code:
<MYTable> <Type>H</Type> <Version>2.2</Version> <data> </data> <Type>D</Type> <Version> </Version> <Data>4000</Data> <Value>1</Value> <Type>D</Type> <Version> </Version> <Data>5000</Data> <Value>2</Value> </MYTable>
for Example in first row "Value" tag is not there becase theere is no data in that field for that row.
but if i inserted blank value to that field it should appear there for example "Version" tag on 2nd and 3rd node
Please, Can any one help me with this?
Thanks in advance.
Comment