摘要: /// <summary> /// 获取动态缩略图 /// </summary> /// <param name="path"></param> /// <returns></returns> public string GetThumbnail11(string path) { try { str 阅读全文
posted @ 2022-08-17 16:13 cv玲玲 阅读(735) 评论(0) 推荐(0) 编辑
摘要: public bool IsNumber(String strNumber) { Regex objNotNumberPattern = new Regex("[^0-9.-]"); Regex objTwoDotPattern = new Regex("[0-9]*[.][0-9]*[.][0-9 阅读全文
posted @ 2021-11-29 16:57 cv玲玲 阅读(59) 评论(0) 推荐(0) 编辑
摘要: private void CopyFile(string srcFile, string destDir) { DirectoryInfo destDirectory = new DirectoryInfo(destDir); string fileName = Path.GetFileName(s 阅读全文
posted @ 2021-11-05 14:13 cv玲玲 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 加入如下代码在标签前 点击查看代码 <script language=javascript> function preview() { bdhtml=window.document.body.innerHTML; sprnstr="<!--startprint-->"; eprnstr="<!--e 阅读全文
posted @ 2021-10-21 16:43 cv玲玲 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 使用VS创建windows服务项目: 创建好项目 会出现一个设计界面 右键弹出对话框 选择添加安装程序 名字什么的自己可以改: 项目目录: 打开项目中的ProjectInstaller.Designer.cs 修改windows服务名称描述以及启动方式等: 点击查看代码 partial class 阅读全文
posted @ 2021-10-21 16:25 cv玲玲 阅读(475) 评论(0) 推荐(0) 编辑
摘要: [HttpGet] public async Task<ActionResult> DownTestFile(RedScarfBadgeManage.Dto.RedScarfBadgeStudentListByConditionInput input) { using (var client = n 阅读全文
posted @ 2021-10-09 11:40 cv玲玲 阅读(129) 评论(0) 推荐(0) 编辑
摘要: var controlSchedulesRepository = Abp.Dependency.IocManager.Instance.Resolve<Configuration.IAppConfigurationAccessor>(); var optionsBuilder = new DbCon 阅读全文
posted @ 2021-09-06 09:02 cv玲玲 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 编写工作类 public class UTaskEventHanlder : BackgroundJob<UpByTermIdInput>, ITransientDependency { private readonly IRepository<EvaluationSystem.EntityDesi 阅读全文
posted @ 2021-09-01 16:29 cv玲玲 阅读(155) 评论(0) 推荐(0) 编辑
摘要: protected DataTable RemoveEmpty(DataTable dt) { List<DataRow> removelist = new List<DataRow>(); for (int i = 0; i < dt.Rows.Count; i++) { bool IsNull 阅读全文
posted @ 2021-08-30 08:45 cv玲玲 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Maven配置 下载https://maven.apache.org/download.cgi 配置环境变量 M2_HOME:maven目录下的bin目录 MAVEN_HOME:maven的目录 (在系统变量path配置%MAVEN_HOME%\bin) 检查是否按照成功dos mvn -verso 阅读全文
posted @ 2021-08-16 15:27 cv玲玲 阅读(40) 评论(0) 推荐(0) 编辑