Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML Anonymous Types
Message
De
22/03/2017 18:00:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Network:
Windows Server 2016
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01649231
Message ID:
01649267
Vues:
46
>Hi Cetin,
>
>Many thanks for your suggestions. I need the q as such as well, my point was not just to create xml, but to send the q to excel as a side effect.
>
>As far as relations is concerned, I did put in the right relations, so I'm definitely going to try your suggestion.
>
>Kind regards,
>
>Marc

IMHO, it is still the way to go. You can add ToList() to materialize the result and send that collection to excel, and use same collection with Linq To XML (sending to excel like this is somewhat slower but works, ultimate sending to excel is directly querying from excel (QueryTables.Add with link option) or using copyfromrecordset, again with excel automation).
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform