2018年8月28日
摘要:
代码如下,jar包为itext.jar,itextAsia.jar,最好都是最新的 ;2张图片也在最后贴出,把图片放到D盘可以直接生成制定格式的pdf。 最后生成的pdf如下: 代码如下:
阅读全文
posted @ 2018-08-28 10:09
来了^O^老弟
阅读(8306)
推荐(2)
2018年8月27日
摘要:
最近正在做导出pdf文件的功能,所以查了了一些相关资料,发现不是很完善,这里做一些小小的感想,欢迎各位“猿”童鞋批评指正。 poi+itext,所需要的jar包有itext-2.1.7.jar,poi-3.14.jar,iTextAsian.jar:用于处理中文乱码问题,这是我所用的jar包,大家也
阅读全文
posted @ 2018-08-27 16:43
来了^O^老弟
阅读(3709)
推荐(0)
摘要:
转载至:https://blog.csdn.net/sunzuqiang/article/details/5774618
阅读全文
posted @ 2018-08-27 13:35
来了^O^老弟
阅读(1048)
推荐(0)
摘要:
/// /// 获取html内容,转成PDF(注册) /// public void DownloadPDFByHTML(string html,string FileName) { WebClient wc = new WebClient(); // wc.Encoding = System.Text.Encoding.UTF8; //string htmlText = getWeb...
阅读全文
posted @ 2018-08-27 12:05
来了^O^老弟
阅读(1641)
推荐(0)
2018年8月22日
摘要:
http://www.mybatis.org/mybatis-3/zh/index.html
阅读全文
posted @ 2018-08-22 17:15
来了^O^老弟
阅读(1289)
推荐(0)
2018年8月15日
摘要:
今天在网上找了几道经典的SQL练习题做了一下,虽然都不难,但是对打基础是很有好处的,在明白的基础上可以进一步做分析,来研究一下各种解法的优劣,甚至进行简单的优化。。现在将题目和答案分享一下。我使用的是MYSQL 5.0,但是绝大部分都是标准SQL。表结构:CREATE TABLE STUDENT(S
阅读全文
posted @ 2018-08-15 09:07
来了^O^老弟
阅读(233)
推荐(0)
2018年8月13日
摘要:
switch (cell.getCellType()){ case Cell.CELL_TYPE_NUMERIC: //数字 cellValue = stringDateProcess(cell); break; case Cell.CELL_TYPE_STRING: //字符串 cellValue
阅读全文
posted @ 2018-08-13 10:59
来了^O^老弟
阅读(5644)
推荐(0)
2018年7月16日
摘要:
表格参数: 名称标签类型默认描述 - data-toggle String ‘table’ 不用写 JavaScript 直接启用表格。 classes data-classes String ‘table table-hover’ 表格的类名称。默认情况下, 表格是有边框的,你可以添加 ‘tabl
阅读全文
posted @ 2018-07-16 17:28
来了^O^老弟
阅读(5459)
推荐(0)