Dim linq_result = From c in db.customers select c dim xml1 as New XElement("customers",from xc in linq_result Select xc ) dim xml2 as New XElement("customers",from xc in linq_result Select xc.field1,xc.field2 ) xml1.Save(c:\folder\xml1.xml) xml2.Save(c:\folder\xml2.xml)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)