摘要: 1.直接导出数据控件保存方法private void ExportToExcel() { if(Session["OBData"] != null && Session["OBTotal"] != null) { DataTable dt = (DataTable)Session["OBData"]; // datatable DataTable dt_total = (DataTable)Session["OBTotal"]; // total table // Populate the repe 阅读全文
posted @ 2012-04-11 18:31 scott.pei 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 一:PDF1.Adobe Acrobat 8 Professional 可以修改和制作模板2.向模板插入数据(代码)例子,需要用到itextsharp.dll引用文件using System;using System.Collections.Generic;using System.Web;using iTextSharp.text;using System.IO;using iTextSharp.text.pdf;using System.Data;using Suryani.Commerce.Core.Common;using System.Text;using Suryani.Comme 阅读全文
posted @ 2012-04-11 18:10 scott.pei 阅读(4672) 评论(0) 推荐(1) 编辑