Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Export dataset to excel using C# Windows Forms

Posted on 2008-10-02
3
Medium Priority
?
1,104 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
1 Comment
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 1000 total points
ID: 22626249
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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

571 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