Solved

.Net pull data to an excel file

Posted on 2012-03-15
2
181 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 40

Accepted Solution

by:
Kyle Abrahams earned 500 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

743 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

12 Experts available now in Live!

Get 1:1 Help Now