摘要: 一、安装jre JAVA运行时下载地址: https://www.java.com/zh_CN/download/manual.jsp 安装后设置环境变量,变量值是jre的安装路径 二、安装 red5 Red5流媒体服务器下载地址: http://www.cuplayer.com/player/Pl 阅读全文
posted @ 2017-10-10 15:01 用友U8二次开发 阅读(2273) 评论(0) 推荐(0)
摘要: VLC 插件代码: js 播放 阅读全文
posted @ 2017-09-30 11:40 用友U8二次开发 阅读(1877) 评论(0) 推荐(0)
摘要: /// /// 检查是否文件是否图片并保存 /// /// 文件 /// 保存文件的目录(例:/Img/Mark/) /// 重命名后文件的名称 /// 是否成功 private bool SaveImage(HttpPostedFileBase file, string save... 阅读全文
posted @ 2017-09-21 10:25 用友U8二次开发 阅读(382) 评论(0) 推荐(0)
摘要: using System.Data.Entity.Infrastructure; using System.Threading.Tasks; /// /// EF扩展 /// public static class EFExtensions { /// /// 更新实体根据字段 /// //... 阅读全文
posted @ 2017-09-14 12:51 用友U8二次开发 阅读(537) 评论(0) 推荐(0)
摘要: public static class ModelStateExtensions { /// /// 获取model验证错误信息 /// /// /// public static string ExpendErrors(this System.Web.Mvc.Controller c... 阅读全文
posted @ 2017-09-14 11:42 用友U8二次开发 阅读(583) 评论(0) 推荐(0)
摘要: using OpenQA.Selenium.Firefox; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using OpenQA.Selenium; name... 阅读全文
posted @ 2017-07-21 12:23 用友U8二次开发 阅读(607) 评论(0) 推荐(0)
摘要: WebAPi依赖注入 使用记录 笔记 1.NuGet包安装 2.控制器加入构造函数 3.Global.asax Application_Start 应用程序启动时 using Autofac;using Autofac.Integration.WebApi; 阅读全文
posted @ 2017-07-13 16:21 用友U8二次开发 阅读(4042) 评论(2) 推荐(0)
摘要: /// /// 导出至PDF /// /// 数据源 /// 文件名 /// 字段表头名对照 public static void Export(DataTable dt, string fileName, Dictionary dicTableHeader) { ... 阅读全文
posted @ 2017-06-06 12:34 用友U8二次开发 阅读(457) 评论(0) 推荐(0)
摘要: /// /// NPOI导出帮助类 /// public class NPOIHelper { /// /// DataTable导出到Excel的MemoryStream /// /// 源DataTable /// 表头文本 private static M... 阅读全文
posted @ 2017-06-06 12:33 用友U8二次开发 阅读(2123) 评论(5) 推荐(0)
摘要: /// /// 32位MD5加密 /// /// /// public static string Md5Hash(string input) { MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider()... 阅读全文
posted @ 2017-06-06 12:32 用友U8二次开发 阅读(219) 评论(0) 推荐(0)