Spire.DataExport for .NET is a 100% pure data .NET component suit for exporting data into MS Word, Excel, RTF, Access, PDF, XPS, HTML, XML, Text, CSV, DBF, SYLK, SQL Script, DIF, Clipboard, etc.

Fri Sep 15, 2006 3:52 am

Response.Clear();
Response.AppendHeader("Content-Disposition", "attachment;filename=myPdf.pdf");
Response.ContentType = "Application/pdf";


try
{
System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
table1.RenderControl(htmlWrite);
datagrid1.RenderControl(htmlWrite);
Response.Write(stringWrite.ToString());
Response.End();
}

Rain
 
Posts: 1
Joined: Fri Sep 15, 2006 1:29 am

Fri Sep 15, 2006 3:57 pm

Hello,

Whether you have described is the use of the Spire.DataExport problem?
Technical Support
Spire.DataExport Team

support@e-iceblue.com

DataExport
 
Posts: 35
Joined: Thu Jun 29, 2006 2:29 pm

Return to Spire.DataExport