473,382 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Export to Excel > 65000 Rows

Hi,

We are exporting data from a grid view to excel using the standard
Response.Content type etc...

But we would like to create new worksheets in case there are more than
65000 rows.

I know that in my webserver, MS Office is not installed.

I am looking at the option of using Office Web Components.

My question is:-

Is there any other way which this can be acheived?

Thanks

- Soni
Oct 24 '08 #1
4 9751
"hangar18" <so************@wipro.comwrote in message
news:84**********************************@b31g2000 prf.googlegroups.com...
I know that in my webserver, MS Office is not installed.
That's a very good thing, as server-side automation of Office isn't
supported at all because it's so flaky:
http://support.microsoft.com/default...US;q257757#kb2
http://support.microsoft.com/default.aspx/kb/288367
I am looking at the option of using Office Web Components.
OWC is/was a great product. Unfortunately it is now being actively
discontinued, and no longer ships with Office 2007. The latest version,
however, will continue to be supported for a few more years:
http://blogs.msdn.com/excel/archive/...17/668544.aspx
I've never used OWC, so can't confirm whether the Excel component supports
more than 65,536 rows...
Is there any other way which this can be acheived?
http://www.aspose.com/categories/fil...a/default.aspx
http://myxls.in2bits.org/wiki/Defaul...ookieSupport=1
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 24 '08 #2
The row limit is still in effect. You can certainly split the report over
two or more workbooks, but the amount on a single workbook is the same.

How to do it? I would look at third party controls personally. Software
Artisans (www.softartisans.com) has a component callled OfficeWriter for
Excel that is nice and rather fast. I have not played with it in recent
years, but it is where I would personally look if I were doing this now.

There are some UI Grids that include export to excel. Some that come to mind
are Syncfusion's Essential Grid and Telerik's RAD Grid. I would imagine
Infragistics, Component One, Component Art and Dev Express all have the same
feature. You would have to ask the company(s) how they handle more than
65,000 rows or download trial versions and play.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"hangar18" <so************@wipro.comwrote in message
news:84**********************************@b31g2000 prf.googlegroups.com...
Hi,

We are exporting data from a grid view to excel using the standard
Response.Content type etc...

But we would like to create new worksheets in case there are more than
65000 rows.

I know that in my webserver, MS Office is not installed.

I am looking at the option of using Office Web Components.

My question is:-

Is there any other way which this can be acheived?

Thanks

- Soni
Oct 24 '08 #3
On Oct 24, 7:21*am, hangar18 <soni.somara...@wipro.comwrote:
Hi,

We are exporting data from a grid view to excel using the standard
Response.Content type etc...

But we would like to create new worksheets in case there are more than
65000 rows.

I know that in my webserver, MS Office is not installed.

I am looking *at the option of using Office Web Components.

My question is:-

Is there any other way which this can be acheived?

Thanks

- Soni
Hi,

My recommendation is to use XLSX file format, OpenXML is
largely replacing old XLS and has support for 16 million rows.
You have my article with simple XLSX export code here:
http://www.gemboxsoftware.com/Excel2007/DemoApp.htm

You can read XLSX files with Excel 2003 and older
using Microsoft Office Compatibility Pack:
http://www.microsoft.com/downloads/d...displaylang=en

If you need more advanced stuff, we have GemBox.Spreadsheet
component which supports borders, colors, print settings etc.:
http://www.gemboxsoftware.com/GBSpreadsheet.htm

Hope I helped,

--Zeljko
Oct 27 '08 #4
Have you taught of using SSIS(Sql server integrated Services)
That could help alot.
Patrick
"ZSvedic" <ZS*****@gmail.comwrote in message
news:22**********************************@y71g2000 hsa.googlegroups.com...
On Oct 24, 7:21 am, hangar18 <soni.somara...@wipro.comwrote:
Hi,

We are exporting data from a grid view to excel using the standard
Response.Content type etc...

But we would like to create new worksheets in case there are more than
65000 rows.

I know that in my webserver, MS Office is not installed.

I am looking at the option of using Office Web Components.

My question is:-

Is there any other way which this can be acheived?

Thanks

- Soni
Hi,

My recommendation is to use XLSX file format, OpenXML is
largely replacing old XLS and has support for 16 million rows.
You have my article with simple XLSX export code here:
http://www.gemboxsoftware.com/Excel2007/DemoApp.htm

You can read XLSX files with Excel 2003 and older
using Microsoft Office Compatibility Pack:
http://www.microsoft.com/downloads/d...displaylang=en

If you need more advanced stuff, we have GemBox.Spreadsheet
component which supports borders, colors, print settings etc.:
http://www.gemboxsoftware.com/GBSpreadsheet.htm

Hope I helped,

--Zeljko
Oct 28 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ABC | last post by:
What methods can export excel file from stored procedure with parameters which input from web form?
1
by: panku007 | last post by:
hi All, I wanted to export excel data into ms word document through java coding.So please send me reply,according to my question. thanks
2
by: tbenchakroune | last post by:
How can I export Excel spreadsheets to Access db? Thanks, T.
1
by: san1014 | last post by:
Hi How to import and export excel data into oracle database using java. Thank you
0
by: trtaan | last post by:
Hi all, This is trtaan. I wanted to export around 300000 records that are present in my MS Access 2003 version table to excelsheet version8. I had written a code to export to multiple sheets in...
1
by: CF FAN | last post by:
Can Report Builder Export Excel Files with multiple Sheets How can I create a report that it can export in excel by multiple
3
by: minhtran | last post by:
Hi all Anyone has any idea how to get a Excel header column in VB.NET. Please, help me. Thank you so much in advance
0
by: Dubois | last post by:
Bonjour Lorsque je lance un export excel au travert d'une page en ASP.NET C#, cela fonctionne sur la machine de développement, par contre, sur le serveur de production j'ai l'erreur suivante : ...
3
by: prashantdixit | last post by:
Hi, I am trying to export excel data to text file in a particular format. The Format for each ROW of Excel is like IMAN_ROOT/bin/import_file -f=<Column A> -type=<Column B> -d=<Column C>...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.