Solved

Export dataset to excel using C# Windows Forms

Posted on 2008-10-02
3
1,088 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
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

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
C# GridRow get Old/New Value 1 55
What .NET website keeps me current? 9 57
ASP.NET Web API or ASP.NET Core MVC? 3 52
C# guarantee sql connection close 6 25
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
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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