Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BO DataTable to Excel/Document
Message
 
À
24/03/2009 13:44:29
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01391112
Message ID:
01391217
Vues:
35
>Yes, Google provides many solutions for exporting data to Excel...in fact I am not sure there is a limit of methods.
>
>I want to export a few fields of a data table to possibly an Excel spreadsheet/HMTL/XML document so that the user
> may view/print the list of items they are to inspect in their building.
>
>There must be a quick & easy way to do this in VS 2005, MM.Net 2.4, C#, WinForms
>
>Thanks, Ted

There are probably other ways but you can definitely do it by creating a Crystal Report. The report viewer includes an option to export the report to a variety of formats, including Excel.

There's also an article from SQLServerCentral.com that may be useful: http://www.sqlservercentral.com/articles/Integration+Services/61542/
Linda Harmes
HiBit Technologies, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform