上一页 1 2 3 4 5 6 ··· 46 下一页
摘要: 项目背景 前一段时间,开始做一个项目,在考虑数据访问层是考虑技术选型,考虑过原始的ADO.NET、微软的EF、NH等。再跟经理讨论后,经理强调不要用Ef,NH做ORM,后期的sql优化不好做,公司也没有人对EF,Nh 等orm优化比较熟悉的。强调说的,我们的项目要做的得简单,可以使用ADO.NET 阅读全文
posted @ 2018-08-27 10:12 赤狐(zcm123) 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 没有的话,需要安装:Install-Package Microsoft.AspNet.WebApi有的话,需要更新:Update-Package Microsoft.AspNet.WebApi -reinstall 阅读全文
posted @ 2018-08-14 09:13 赤狐(zcm123) 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Sql代码 sp_configure 'show advanced options', 1; GO RECONFIGURE WITH OVERRIDE; --加上WITH OVERRIDE GO sp_configure 'Agent XPs', 1; GO RECONFIGURE WITH OVE 阅读全文
posted @ 2018-08-05 08:10 赤狐(zcm123) 阅读(147) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using DocumentFormat.OpenXml.Drawing.Wordprocessing;using DocumentFo 阅读全文
posted @ 2018-07-25 16:06 赤狐(zcm123) 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Html to OpenXml How to start ? Create a new console application. Add a reference to DocumentFormat.OpenXml.dll (shipped with the OpenXml SDK 2.0). Add 阅读全文
posted @ 2018-07-25 10:48 赤狐(zcm123) 阅读(180) 评论(0) 推荐(0) 编辑
摘要: private void FillBookmarksUsingOpenXml(string sourceDoc, string destDoc, Dictionary<string, string> bookmarkData) { string wordmlNamespace = "http://s 阅读全文
posted @ 2018-07-25 10:23 赤狐(zcm123) 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/sanyejun/p/8575458.html using System;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.T 阅读全文
posted @ 2018-05-21 16:44 赤狐(zcm123) 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 最近项目上有个需求,需要将某个文件的下载地址生成二维码,并展示到网页上. 目前网上生成二维码的方法有好几种,本文将介绍【QRCoder】生成二维码的方式 一、首先通过VS中的【NUGET】下载并引用QRCoder.dll 使用VS打开项目,项目->右键->管理Nuget程序包,然后选择联机,在输入框 阅读全文
posted @ 2018-05-07 09:18 赤狐(zcm123) 阅读(327) 评论(0) 推荐(0) 编辑
摘要: The above xml text is a super simplified version but the structure is exactly the same. A simpler version of the structure is here Document > Body > T 阅读全文
posted @ 2018-04-04 10:03 赤狐(zcm123) 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 在生成文档时要求生成,参考了玄魂的word目录页修正文章,链接 http://www.cnblogs.com/xuanhun/archive/2011/06/16/2083061.html word的目录是使用域来生成的,主要的标签即是HyperLink,在这里面要填充标题,目录项等。目录项是依赖标 阅读全文
posted @ 2018-04-04 09:05 赤狐(zcm123) 阅读(468) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 46 下一页