c# 四舍五入
摘要:Math.Round(value, 2, MidpointRounding.AwayFromZero) //遇到边界值,如5时两个值取较大的那个
阅读全文
posted @
2018-07-30 16:57
姿夏的海角
阅读(116)
推荐(0)
c# 邮件发送
摘要:1 2 3 4 5 6 private static readonly string _smtpServer = ConfigurationManager.AppSettings["SmtpServer"]; private static readonly string _userAccount = Configu...
阅读全文
posted @
2018-07-25 23:10
姿夏的海角
阅读(134)
推荐(0)
html 导出pdf
摘要:地址: https://developers.itextpdf.com/examples/xml-worker/html-lists 主方法: public string Generate(string filePath) { if (DeleteOldFile(filePath)) { throw
阅读全文
posted @
2018-07-25 23:00
姿夏的海角
阅读(106)
推荐(0)
visual studio build and rebuild 的区别
摘要:build 只编译发生改变的dll, (如下, 我只修改了web API,build的时候, 只有webAPI.dll发生更新) rebuild = clean + build (如下, 本项目中dll都同步更新了)
阅读全文
posted @
2018-07-23 17:03
姿夏的海角
阅读(190)
推荐(0)