Greetings everyone,
I want to generate the following XML thru C#. Can someone please help me here with the code.
<ns0:Ims_Request xmlns:ns0="http://IMSProject.IMS_Request">
<ProductId>10</ProductId>
<ProductName>ProductName_0</ProductName>
<Price>10</Price>
<QtyAvail>10</QtyAvail>
<QtyReq>5</QtyReq>
</ns0:Ims_Request>
I want the C# code to generate a similiar XML with all the tags and namespaces.




Reply With Quote