Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serialize SqlDataReader result to XML
Message
 
 
À
15/01/2013 10:22:08
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:
01562597
Vues:
25
>>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?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform