Solved

Using Softartisans ExcelWriter, do you know if I can generate an Excel file from either a SQL Server 2005 table, stored procedure or query and if so how?

Posted on 2013-12-17
1
492 Views
Last Modified: 2013-12-21
I am developing my first C# ASP.NET web application using web forms and VS2010.
I plan on using SoftArtisans ExcelWriter to create Excel files from a SQL Server 2005 database.

Using Softartisans ExcelWriter, do you know if I can generate an Excel file from either a SQL Server 2005 table, stored procedure or query and if so how?
0
Comment
Question by:zimmer9
1 Comment
 
LVL 48

Accepted Solution

by:
PortletPaul earned 500 total points
ID: 39725395
... OfficeWriter samples demonstrate how to import data from a database into an Excel or Word report. All .NET samples that connect to a database use the ADO.NET System.Data.SqlClient namespace to connect to Microsoft SQL Server and the AdventureWorks 2000 sample database.
Have you looked at the OfficeWriter examples? I usually find examples useful for this type of software. See:
http://windemo.softartisans.com/OfficeWriter/3.9.2/aspnet.aspx
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
Need help on C# Linq query on object 6 53
Tags from access to excel 3 28
ADD New Entries 7 15
Facial recognition to look through the whole database for a person 3 40
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

911 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

18 Experts available now in Live!

Get 1:1 Help Now