1

Does someone know how to export an excel file (csv, xls and xlsx) from database (sql server 2008). Better is using linq to entity and c#.net.

furthermore, I also need retrieve back the excel file (csv, xls and xlsx) and store into database as well.

It is better if not using third party source.

Currently I'm using Visual Studio 2010.

2 Answers 2

1

better use library like epPlus http://epplus.codeplex.com/

1
  • thanks Brijesh Mishra. but i dun think this can be suit for the 2003 version user.... anyway, thanks for help:) Dec 29, 2011 at 7:50
1

But you can use the SQL Server itself to export to Excell. watch this video

1
  • Hi, O.D, it is can use coding dynamically generated? Dec 29, 2011 at 7:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.