generate nested xml form Country and corresponding states and download
Contry and state table in sql server has foreign key relationship. How to generate and download country and coresponding states in nested xml format?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rijwan AnsariPosted Apr 1, 2021, 5:38 AM
Mohsin AzamPosted Mar 31, 2021, 5:42 AM
After getting the record ,you can use Linq to XML where you can create your own XML Formatted Data.
plz refer : https://docs.microsoft.com/en-us/dotnet/standard/linq/linq-xml-overview