Print
Add To Favorites
Email To Friend
Rate This Article
|
Creating a Simple ASP.NET Report with Export to Excel
|
Published:
19 Apr 2011
|
Abstract
In this article you will learn how to create a simple ASP.NET report using Web Forms, C#, and a View Model class rather than drag and drop controls, resulting in very clean and understandable HTML. Then, you'll learn how to add Export to Excel functionality, allowing users to export the data in Excel format and save the file with a default filename of your choosing (as opposed to Report.aspx, for instance). |
|
by Steven Smith
Feedback
|
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days):
32554/
59
|
|
|
Introduction |
One of my very first articles was on exporting reports to Excel using Active Server
Pages, and this article still gets over a thousand views per month. Today
I had to create a quick report for internal use and I thought it would be
helpful for the user to be able to quickly export the results to Excel. Thus I
found myself, over a decade later, going through much the same process as in
that original article. Some things have changed, but the basics are still much
the same.
|
|
|
User Comments
Title:
eeqw
Name:
qwrqwr
Date:
2012-11-01 7:42:16 AM
Comment:
qrqwrqwrqwr
|
Title:
dsf
Name:
sdfsd
Date:
2012-04-26 11:17:52 PM
Comment:
dsdfdgdfgdf
|
Title:
MVC3
Name:
Tony
Date:
2011-06-03 5:22:59 PM
Comment:
Nice article, thank you. I used it with mvc3, it works!
|
Title:
ASP.NET
Name:
5th edition,
Date:
2011-05-27 10:04:06 AM
Comment:
this new book was delivered..
|
Title:
.net 3.5 version needed
Name:
windy
Date:
2011-05-13 8:27:06 AM
Comment:
do the needful.
|
Title:
hi
Name:
hassan humayun
Date:
2011-05-11 8:32:25 AM
Comment:
nice article , but tell me one thing if the user doest have office installed on his system then what will happen, would it throw an exception.
|
|
|
|