摘要:
需求: 把模版文件中的图片替换为其它的图片 //模版 string path = Server.MapPath("/yjz/261.doc"); //图片 string path2 = Server.MapPath("/yjz/sign.png"); //保存文件 string path3 = Se 阅读全文
摘要:
declare @t table(itemid int,val nvarchar(4000)) insert into @t(itemid,val) select itemid,'<img id="img' + ltrim(rtrim(id)) + '" src="' + SignFile + '" 阅读全文
摘要:
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 阅读全文
摘要:
在两个应用的web.config 中 system.web 节点 设置使用SQLServer保存Session 1 <sessionState mode="SQLServer" cookieless="false" timeout="1000" sqlConnectionString="Data S 阅读全文
摘要:
组件地址 https://saodiyang.gitee.io/layui-soul-table/#/zh-CN/component/child/basic 1 var childTable = null; 2 var xqTable = null; 3 var myTableIns = null; 阅读全文
摘要:
string sp = Server.MapPath("/");//"/PDF/tz/tempword/" if (!System.IO.Directory.Exists(sp)) { System.IO.Directory.CreateDirectory(sp); } //Request.File 阅读全文
摘要:
需要引用 Aspose.Words 请自行下载 先准备一个HTML 文件,文件内容参考下面 <table border="1" cellspacing="0" style="margin: 0 auto; width: 90%; border-color: #000; text-align: cen 阅读全文
摘要:
需要引用,DLL请自行下载 using Aspose.Pdf; using Aspose.Words; using System.Data; using System.IO; 首选创建Word数据模版;使用Office或者WPS创建一个DOC模版,并增加域;如何增加域名可自行搜索 WPS增加 使邮件 阅读全文
摘要:
引用自 https://www.hangge.com/blog/cache/detail_2207.html 1,问题描述 (1)如果添加的文字中包含有中文(汉字),我们会发现生成的 pdf 文件时,里面中文部分就会变成乱码: (2)这是由于 jsPDF 默认是不支持中文的。我们可以通过手动引入中文 阅读全文
摘要:
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); 阅读全文