Solved

Export dataset to excel using C# Windows Forms

Posted on 2008-10-02
3
1,082 Views
Last Modified: 2012-05-05
Hello,
II need to export data returned from sql stored procedure to excel and also do some formatting changes, change the column header names, sheet names, merge some cells etc. Also, the records in excel should be spread across multiple sheets, based on a column in the dataset.
I tried implementation using VSTO but realized its not suitable.
Any direction provided will be greatly appreciated.
0
Comment
Question by:haritha_204
3 Comments
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 250 total points
Comment Utility
have a look at the question posted on EE previoulsy. It also points out to some codeproject links which might be helpful
http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_21234124.html

I think as your export to the excel will be customized, in that case you might need to do some extra coding for customization.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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