Hi,
I have to make an XML file for one of my project in the following format:
<Orders>
<Profile>
<CompanyID>Test</CompanyID>
<CompanyName>My Company</CompanyID>
</Profile>
<OrderInformation>
<CustomerInformation>
<OrderNo>000001</OrderNo>
<FirstName>John</FirstName>
<LastName>Doe</LastName>
</CustomerInformation>
<CustomerEMailInformation>(E-Mail Removed)</CustomerEMailInformation>
</OrderInformation>
</Orders>
Items between the <Profile></Profile> tags will always remains constant.
Item between the <OrderInformation></OrderInformation> tag will be retrieved
from the database. In this scenario, what will be the best option? I want
to populate this information in the DataSet and then use the XML functions
ADO.NET has to make the XML file.
Thanks, Nauman.
|