Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serialize SqlDataReader result to XML
Message
De
15/01/2013 10:29:30
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01562506
Message ID:
01562598
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
>>>I was also thinking we should somehow avoid calling the sqlDataReader.GetName(i) repeatedly, but do you know how then we should change the above?
>>
>>Can't you figure out something as simple as that ?
>>
>I am thinking we should declare an array of Columns before the loop. Should it be just an array of strings?


A string array since the column name is a string
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform