devexpress pivot grid发送附加excel邮件

时间:2015-01-03 10:20:02

标签: excel devexpress export

如何发送邮件DevExpress pivotgrid附加excel

 fileName = "GridView.xls";
                    this.ASPxGridViewExporter1.WriteXlsToResponse();
                    Response.Clear();
                    Response.AddHeader("Content-Type", contentType);
                    Response.AddHeader("Content-Transfer-Encoding", "binary");
                    Response.AddHeader("Content-Disposition", disposition + "; filename=" + fileName);
                    Response.BinaryWrite(buffer);

1 个答案:

答案 0 :(得分:0)

没有这样的内置功能。您需要导出PivorGrid并使用标准方法发送电子邮件。以下是DX支持中心的相应故障单:Q422021。我还看到你正在使用GridView导出器。您需要使用ASPxPivotGridExporter