Solved

C#.NET: Extract Data from SQL Server to Excel

Posted on 2011-03-02
6
598 Views
Last Modified: 2012-05-11
Hello,

I am developing a window service in C#.NET which will extract 7 tables into excel at particular time.

Note: The volume of data per table would be 60,000 to 80,000 records. Also, I am having [Text], Varchar(Max), bit, money data type in few tables.

Do anyone have any feedback / suggestion on it?

Best Regards,
Mohit Sharma
0
Comment
Question by:MohitPandit
6 Comments
 
LVL 9

Expert Comment

by:rawinnlnx9
ID: 35022636
0
 
LVL 35

Expert Comment

by:Miguel Oz
ID: 35023177
0
 
LVL 8

Expert Comment

by:Volox
ID: 35028636
Why not use SSIS and schedule it with a SQL agent job?  Less code, easy to build and easy to maintain.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 5

Author Comment

by:MohitPandit
ID: 35171390
I have done using OLEDB 12.0. I will place code on Monday.
0
 
LVL 5

Accepted Solution

by:
MohitPandit earned 0 total points
ID: 35459088
0
 
LVL 5

Author Closing Comment

by:MohitPandit
ID: 35496402
I have developed myself. I hope that it will be helpful in community.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Combine two datatables into one based on a value from second datatable 4 32
Runtime Error 2 28
scanning dentists xray (the small ones) 3 43
SQL Exceptions 3 36
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now