CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Problem with Export to Excel in Grid / C#

Print topic Send  topic

Author Message
Jaro Steigauf
Posted: 09/09/2003, 8:04 AM

Hi,

I write e-commerce shop in CCS/C#.
I need exporting in admin section grid to excel format (all records).

Problem :
The grid is without Navigator and without styles .

I have the property Records Per Page = empty

If I set property Page Size Limit >100 and I create excel file (file was
created),
then excel error message (I try translate it )

File is not open ( or File is not prepare for reading)

In section OnInitializeView is :

Response.ContentType="application/vnd.ms-excel";
Response.AddHeader("Content-Disposition:", "attachment;
filename=test2.xls");
Response.Flush();

PS:
If I set property Page Size Limit <=100 and I create excel file, then all is
OK.

jaro



---
Odchadzajuca sprava neobsahuje virusy.
Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
Verzia: 6.0.517 / Vírusová databáza: 315 - dátum vydania: 8. 9. 2003

DonB
Posted: 09/09/2003, 1:27 PM

I think this is one for the Yes people - open a case at
http://support.codecharge.com and let us know what their answer is.

--
DonB

http://www.gotodon.com/ccbth


"Jaro Steigauf" <thskk@thskk.sk> wrote in message
news:bjkq5o$lag$1@news.codecharge.com...
> Hi,
>
> I write e-commerce shop in CCS/C#.
> I need exporting in admin section grid to excel format (all records).
>
> Problem :
> The grid is without Navigator and without styles .
>
> I have the property Records Per Page = empty
>
> If I set property Page Size Limit >100 and I create excel file (file was
> created),
> then excel error message (I try translate it )
>
> File is not open ( or File is not prepare for reading)
>
> In section OnInitializeView is :
>
> Response.ContentType="application/vnd.ms-excel";
> Response.AddHeader("Content-Disposition:", "attachment;
> filename=test2.xls");
> Response.Flush();
>
> PS:
> If I set property Page Size Limit <=100 and I create excel file, then all
is
> OK.
>
> jaro
>
>
>
> ---
> Odchadzajuca sprava neobsahuje virusy.
> Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
> Verzia: 6.0.517 / Vírusová databáza: 315 - dátum vydania: 8. 9. 2003
>
>

Jaro Steigauf
Posted: 09/09/2003, 10:42 PM

I sent it yesterday, too.


jaro


"DonB" <~ccbth~@gotodon.com> wrote in message
news:bjld3b$f67$1@news.codecharge.com...
> I think this is one for the Yes people - open a case at
> http://support.codecharge.com and let us know what their answer is.
>
> --
> DonB
>
> http://www.gotodon.com/ccbth
>
>
> "Jaro Steigauf" <thskk@thskk.sk> wrote in message
>news:bjkq5o$lag$1@news.codecharge.com...
> > Hi,
> >
> > I write e-commerce shop in CCS/C#.
> > I need exporting in admin section grid to excel format (all records).
> >
> > Problem :
> > The grid is without Navigator and without styles .
> >
> > I have the property Records Per Page = empty
> >
> > If I set property Page Size Limit >100 and I create excel file (file was
> > created),
> > then excel error message (I try translate it )
> >
> > File is not open ( or File is not prepare for reading)
> >
> > In section OnInitializeView is :
> >
> > Response.ContentType="application/vnd.ms-excel";
> > Response.AddHeader("Content-Disposition:", "attachment;
> > filename=test2.xls");
> > Response.Flush();
> >
> > PS:
> > If I set property Page Size Limit <=100 and I create excel file, then
all
> is
> > OK.
> >
> > jaro
> >
> >
> >
> > ---
> > Odchadzajuca sprava neobsahuje virusy.
> > Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
> > Verzia: 6.0.517 / Vírusová databáza: 315 - dátum vydania: 8. 9. 2003
> >
> >
>
>


---
Odchadzajuca sprava neobsahuje virusy.
Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
Verzia: 6.0.517 / Vírusová databáza: 315 - dátum vydania: 8. 9. 2003


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.