智者樂山山如畫, 仁者樂水水無涯。 從從容容一盃酒, 平平淡淡一盞茶。 細雨朦朧小石橋, 春風盪漾小竹筏。 夜無明月花獨舞, 腹有詩書气自華。 吾生有崖,也知無崖,以有崖逐無崖,殆也
上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 需求: 把模版文件中的图片替换为其它的图片 //模版 string path = Server.MapPath("/yjz/261.doc"); //图片 string path2 = Server.MapPath("/yjz/sign.png"); //保存文件 string path3 = Se 阅读全文
posted @ 2021-10-14 11:49 後生哥哥 阅读(581) 评论(0) 推荐(0) 编辑
摘要: declare @t table(itemid int,val nvarchar(4000)) insert into @t(itemid,val) select itemid,'<img id="img' + ltrim(rtrim(id)) + '" src="' + SignFile + '" 阅读全文
posted @ 2021-10-09 23:12 後生哥哥 阅读(126) 评论(0) 推荐(0) 编辑
摘要: SELECT a.annual,a.policy_name,b.[value] FROM (SELECT annual,policy_name,[value]=CAST('<v>'+REPLACE([relation],',','</v><v>')+'</v>' AS xml) FROM T_tab 阅读全文
posted @ 2021-01-19 11:19 後生哥哥 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 在两个应用的web.config 中 system.web 节点 设置使用SQLServer保存Session 1 <sessionState mode="SQLServer" cookieless="false" timeout="1000" sqlConnectionString="Data S 阅读全文
posted @ 2020-11-21 12:36 後生哥哥 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 组件地址 https://saodiyang.gitee.io/layui-soul-table/#/zh-CN/component/child/basic 1 var childTable = null; 2 var xqTable = null; 3 var myTableIns = null; 阅读全文
posted @ 2020-11-04 20:02 後生哥哥 阅读(2128) 评论(0) 推荐(0) 编辑
摘要: string sp = Server.MapPath("/");//"/PDF/tz/tempword/" if (!System.IO.Directory.Exists(sp)) { System.IO.Directory.CreateDirectory(sp); } //Request.File 阅读全文
posted @ 2020-06-23 09:05 後生哥哥 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 需要引用 Aspose.Words 请自行下载 先准备一个HTML 文件,文件内容参考下面 <table border="1" cellspacing="0" style="margin: 0 auto; width: 90%; border-color: #000; text-align: cen 阅读全文
posted @ 2020-03-22 16:12 後生哥哥 阅读(1600) 评论(0) 推荐(0) 编辑
摘要: 需要引用,DLL请自行下载 using Aspose.Pdf; using Aspose.Words; using System.Data; using System.IO; 首选创建Word数据模版;使用Office或者WPS创建一个DOC模版,并增加域;如何增加域名可自行搜索 WPS增加 使邮件 阅读全文
posted @ 2020-03-10 08:58 後生哥哥 阅读(974) 评论(0) 推荐(0) 编辑
摘要: 引用自 https://www.hangge.com/blog/cache/detail_2207.html 1,问题描述 (1)如果添加的文字中包含有中文(汉字),我们会发现生成的 pdf 文件时,里面中文部分就会变成乱码: (2)这是由于 jsPDF 默认是不支持中文的。我们可以通过手动引入中文 阅读全文
posted @ 2020-01-10 10:52 後生哥哥 阅读(7785) 评论(0) 推荐(0) 编辑
摘要: DataTable ds = dal.ExecuteDataTable(cmd, q); DataColumn col = new DataColumn("curr_cash_money", typeof(decimal)); col.Expression = "imburseoutlay-isnull(cash_money,0)"; ds.Columns.Add(col); 阅读全文
posted @ 2020-01-03 15:46 後生哥哥 阅读(331) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页
智者樂山山如畫, 仁者樂水水無涯。 從從容容一盃酒, 平平淡淡一盞茶。 細雨朦朧小石橋, 春風盪漾小竹筏。 夜無明月花獨舞, 腹有詩書气自華。 吾生有崖,也知無崖,以有崖逐無崖,殆也