• 00
  • :
  • 00
  • :
  • 00
摘要: 下载搭建项目:链接:https://pan.baidu.com/s/1jHZ3Kkm 密码:5k4q 项目源码: GZAdmin_API:https://github.com/GarsonZhang/GZAdmin_API GZAdmin_Page:https://github.com/Garson 阅读全文
posted @ 2017-12-30 11:14 Garson_Zhang 阅读(1447) 评论(0) 推荐(1) 编辑
摘要: TinyMce 默认字体大小列列表是:8pt 10pt 12pt 14pt 18pt 24pt 36pt 如果想要自定义列表,比如增加几个奇数的字体 只需要再初始化 tinymce 的函数中增加 一个参数设置:fontsize_formats fontsize_formats: "8pt 9pt 1 阅读全文
posted @ 2021-09-03 11:44 Garson_Zhang 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 一、ToolbarLocation ToolbarLocation 树形设置为 Hidden 可隐藏 二、取消右键菜单 Minimize the Ribbon RibbonControl 属性 AllowMinimizeRibbon 设置为 False 三、Ribbon 展开按钮控制 ExpandC 阅读全文
posted @ 2021-08-20 17:47 Garson_Zhang 阅读(2450) 评论(0) 推荐(0) 编辑
摘要: 官方文档:http://www.yesdotnet.com/archive/gzhelper/1614552868.html 项目介绍 GZDBHelper 数据库访问组件,.NET下 开源 的数据库访问库,C# 编写 支持数据库有:MSSQL,Oracle,MySQL,SQLite 等主流数据库 阅读全文
posted @ 2021-06-09 11:22 Garson_Zhang 阅读(233) 评论(0) 推荐(0) 编辑
摘要: alert(document.lastModified) 阅读全文
posted @ 2021-02-19 15:02 Garson_Zhang 阅读(270) 评论(1) 推荐(0) 编辑
摘要: public string ConfigFile { get { if (String.IsNullOrEmpty(_configfile)) { //string assemblyFile = System.Reflection.Assembly.GetExecutingAssembly().Lo 阅读全文
posted @ 2021-02-18 22:07 Garson_Zhang 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 服务端代码: [HttpPost] public APIResult PostFormFile(string path) { try { //如果路径不存在,创建路径 if (!Directory.Exists(path)) return new APIResult() { status = -1, 阅读全文
posted @ 2021-02-18 14:23 Garson_Zhang 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 1.安装Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation包 2.在Startup中ConfigureServices方法里面加入services.AddMvc().AddRazorRuntimeCompilation(); 阅读全文
posted @ 2021-02-01 19:56 Garson_Zhang 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 参考:https://dotnetthoughts.net/using-less-css-with-aspnet-core/ 项目目录下创建package.json { "name": "gzblogs", "version": "1.0.0", "description": "An ASP.NET 阅读全文
posted @ 2021-02-01 18:58 Garson_Zhang 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1 using ActiproSoftware.CodeHighlighter; 2 using ActiproSoftware.SyntaxEditor; 3 using System; 4 using System.Collections.Generic; 5 using System.Conf 阅读全文
posted @ 2021-01-30 15:57 Garson_Zhang 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 如上图,当您发生错误“未能加载工具箱项“PlaceHolderTextBox”。将从工具箱中将其删除。”时,要怎么解决。 场景: 这个问题的产生,是某个自定义的控件,无法拖入到你的窗体中,原因是您的项目属性设置成了x64。 解决办法: 只需要将项目生成属性中的目标平台改为x86或者AnyCpu即可解 阅读全文
posted @ 2021-01-24 20:03 Garson_Zhang 阅读(2013) 评论(0) 推荐(0) 编辑