
报表
文章平均质量分 77
lJean
这个作者很懒,什么都没留下…
展开
-
数据按书签方式插入word例子
需要引用Microsoft.Office.Interop.Word #region WordDoc public void WordDoc() { Microsoft.Office.Interop.Word.Application appWord = null; Microsoft.Office.Inte转载 2009-06-07 19:42:00 · 1109 阅读 · 0 评论 -
ASP.NET环境下,VB.NET语言,数据保存EXCEL模板操作
Dim strOpenFile,strSaveFile as String Dim xlsApp As New Excel.Application Dim xlsWorkBook As Excel.Workbook Dim xlsSheet As Excel.Worksheet Dim xlsRange As Excel.Range Dim xlsSrcRange As Excel.Range转载 2009-06-11 09:03:00 · 699 阅读 · 0 评论 -
中导出数据到WORD中
首先要添加引用一个MicroSoft Word 11.0 Object Library的一个引用。然后在程序的最上面引用一下声明Imports Microsoft.office.interop接着在相对应的按钮事件,添加如下代码即可,导出到Word中 Dim oword As Word.Application Dim odoc As原创 2009-06-12 10:02:00 · 731 阅读 · 0 评论 -
asp.net gridview 生成excel及word
Excel: private void Export(string FileType, string FileName) { Response.Charset = "GB2312"; Response.ContentEncoding = System.Text.Encoding.UTF7; Response.AppendHeader("Co原创 2009-06-19 14:32:00 · 778 阅读 · 0 评论 -
GridView 导出到 Excel
下面代码实现将 GridView 导出到 Excel文件中。值得注意的是VerifyRenderingInServerForm重载方法: MSDN上的 VerifyRenderingInServerForm 方法的描述: 必须位于 标记中的控件可以在呈现之前调用此方法,以便在控件被置于标记外时显示错误信息。发送回或依赖于注册的脚本块的控件应该在 Control.Render 方法的重写中原创 2009-12-19 18:50:00 · 600 阅读 · 0 评论 -
Export GridView To WordExcelPDFCSV in ASP.Net
转自:http://www.aspsnippets.com/Articles/Export-GridView-To-WordExcelPDFCSV-in-ASP.Net.aspx In this article, I will explain how to e转载 2011-10-18 17:56:37 · 1083 阅读 · 0 评论