摘要: 页面代码: 下面是对Execl操作的详细步骤 第一步:选择一个本地Execl文件,点击导入。 请选择一个本地Execl文件: 第一步导入的表格: 第二步:选择另外一个Execl文件,点击导入。 请选择一个本地Execl文件: 第二步导入的表格: 第三步:选择第一个表格的列和第二个表格匹配的列,合并。 第一个Execl列:, 第二个Ex... 阅读全文
posted @ 2014-03-28 14:07 申湘云 阅读(290) 评论(0) 推荐(0)
摘要: /// /// 程序的方式 /// /// /// /// public static void ExportByApplication(System.Web.UI.Page page, System.Data.DataTable table, string FileName)//整个GRIDVIEW导出到EXCEL.xls { FileName = HttpUtility.UrlEncode(FileName, System.Text.Encoding.UTF8);//解决导出时文件名汉字显示乱码的问题 HttpResponse resp; resp = page.Response... 阅读全文
posted @ 2014-03-27 16:50 申湘云 阅读(174) 评论(0) 推荐(0)
摘要: 一、PowerDesigner生成sql问题生成sql的方法是 Database -->Generate Database (Ctrl + G ) 但是提示,Could not load VBScript engine.Check VBScript installation.Generation aborted due to errors detected during the verification of the model.检查了好久 发现将check model 去掉就可以了!其中,one file on是否需要按照表生成许多个sql(默认选上,即不需要)odbc generat 阅读全文
posted @ 2014-03-13 13:21 申湘云 阅读(305) 评论(0) 推荐(0)