Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Export to Excel > 65000 Rows

Reply
Thread Tools

Export to Excel > 65000 Rows

 
 
hangar18
Guest
Posts: n/a
 
      10-24-2008
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
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer - MVP\)
Guest
Posts: n/a
 
      10-24-2008
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" <> wrote in message
news:840a2151-7cd9-40d4-a60e-...
> 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


 
Reply With Quote
 
 
 
 
ZSvedic
Guest
Posts: n/a
 
      10-27-2008
On Oct 24, 7:21*am, hangar18 <soni.somara...@wipro.com> wrote:
> 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
 
Reply With Quote
 
rote
Guest
Posts: n/a
 
      10-28-2008
Have you taught of using SSIS(Sql server integrated Services)
That could help alot.
Patrick
"ZSvedic" <> wrote in message
news:22cc8cc9-ae02-4009-8990-...
On Oct 24, 7:21 am, hangar18 <soni.somara...@wipro.com> wrote:
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export datagrid to Excel with a lot of rows Amirallia ASP .Net 5 08-02-2006 06:43 AM
Export datagrid to Excel with a lot of rows bnob ASP .Net 2 07-31-2006 08:01 AM
how can I export ALL datagrid rows to excel? The Colonel ASP .Net 5 10-03-2005 05:40 PM
export ALL datagrid rows to excel (not just current page)? The Colonel ASP .Net 1 09-28-2005 08:54 PM
Export to excel data from Datagrid rows sunilkumar Reddy via DotNetMonster.com ASP .Net 0 06-27-2005 12:05 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57