how to speed up the writing data into csv from db table?
 I have huge amount of data in table(sql server)
All data should be write into csv file.
I used 'foreach loop'. It takes more time.
Please give me the alternative ways to speed up the process using C#.
how to speed up the writing data into csv from db table?
===

 I have huge amount of data in table(sql server)
All data should be write into csv file.
I used 'foreach loop'. It takes more time.
Please give me the alternative ways to speed up the process using C#.