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
472 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
Comment Utility
... 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

What Security Threats Are You Missing?

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

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

15 Experts available now in Live!

Get 1:1 Help Now