Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serialize SqlDataReader result to XML
Message
 
 
To
15/01/2013 10:22:08
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:
01562597
Views:
24
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform