using System; using System.Web.UI; public partial class Exporting_Exporting : Page { protected void btnPdfExport_Click(object sender, EventArgs e) { gridExport.WritePdfToResponse(); } protected void btnXlsExport_Click(object sender, EventArgs e) { gridExport.WriteXlsToResponse(); } protected void btnXlsxExport_Click(object sender, EventArgs e) { gridExport.WriteXlsxToResponse(); } protected void btnRtfExport_Click(object sender, EventArgs e) { gridExport.WriteRtfToResponse(); } protected void btnCsvExport_Click(object sender, EventArgs e) { gridExport.WriteCsvToResponse(); } }
Devexpress的数据导出
最新推荐文章于 2024-01-20 09:59:57 发布