Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

.Net pull data to an excel file

Posted on 2012-03-15
2
Medium Priority
?
190 Views
Last Modified: 2012-03-16
I'm developing a web application using sql sever 2005 and VS2008. I'd like to pull data from a store procedure to an excel sheet/file, as each row contains a lot of columns. I've searched the internet, and seems each way still has a problem.

Is there anyone can suggest a good way to do it?

Thanks advance.
0
Comment
Question by:minglelinch
2 Comments
 
LVL 41

Accepted Solution

by:
Kyle Abrahams earned 2000 total points
ID: 37725121
0
 
LVL 1

Author Comment

by:minglelinch
ID: 37730034
Nice answer. Is it possible I can change the title font for the excel report generated by the above link? Thanks.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

876 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