devexpress 枢轴网格发送到附加 excel 邮件
devexpress pivot grid send to attach excel mail
如何发送邮件 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);
没有这样的内置功能。您需要导出 PivorGrid 并使用标准方法发送电子邮件。这是 DX 支持中心的相应工单:Q422021. I see also that you are using a GridView exporter. You need to use ASPxPivotGridExporter.
如何发送邮件 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);
没有这样的内置功能。您需要导出 PivorGrid 并使用标准方法发送电子邮件。这是 DX 支持中心的相应工单:Q422021. I see also that you are using a GridView exporter. You need to use ASPxPivotGridExporter.