Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serialize SqlDataReader result to XML
Message
From
15/01/2013 10:29:30
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01562506
Message ID:
01562598
Views:
33
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
Previous
Reply
Map
View

Click here to load this message in the networking platform