edc_陳先森
拼出属于自己的一个未来
摘要: redis-cli -h ip -p 6379 -a select number // 0 -15 切换数据库flushdb //清除当前库的数据 del keyname //删除指定键及数据flushall //清空整个redis数据,所有库flushdb //清除当前库的数据 docker ex 阅读全文
posted @ 2023-06-03 10:16 edc_陳先森 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.asp.net webform 1.1 用“Request.PhysicalApplicationPath获取站点所在虚拟目录的物理路径,最后包含“\”; 2.c# winform中 2.1“Application.StartupPath”:获取当前应用程序所在目录的路径,最后不包含“\”; 2 阅读全文
posted @ 2022-11-02 15:53 edc_陳先森 阅读(1668) 评论(0) 推荐(0) 编辑
摘要: 如下图所示: 阅读全文
posted @ 2022-11-02 15:51 edc_陳先森 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 一、mysql 相关操作 1-下载mysql镜像:docker pull mysql:latest (下载mysql 最新版本) 2-安装镜像并映射端口:docker run -it --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d 阅读全文
posted @ 2021-11-18 14:49 edc_陳先森 阅读(1743) 评论(0) 推荐(0) 编辑
摘要: core2.2 需要安装配置如下: dotnet-hosting-2.2.8-win.exe dotnet-runtime-2.2.8-win-x64.exe core2.2.1下载地址 core3.1需要安装配置如下: dotnet-hosting-3.1.6-win.exe dotnet-run 阅读全文
posted @ 2021-08-22 16:20 edc_陳先森 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 去除列名重复 select rtrim(ltrim(a.Bank)) as Country, count(*) as Total from T_BASE_OWNER a left join T_BASE_COMPANY b on a.CompanyID= b.ID left join T_BASE_ 阅读全文
posted @ 2019-09-29 14:42 edc_陳先森 阅读(2148) 评论(0) 推荐(0) 编辑
摘要: C#里面的 out 和ref参数时常会用到 记录一下: public void Start() { //outSum没必要赋值,赋值了也完全没用。 //如果AddByOut函数内部直接使用out对应的参数,会报错:使用了未被赋值的 out 参数a int outSum = 1; int ov1 = 阅读全文
posted @ 2019-08-14 11:18 edc_陳先森 阅读(179) 评论(0) 推荐(0) 编辑
摘要: https://jingyan.baidu.com/article/e52e36156fa6d240c60c51c8.html 详情看看这个。 阅读全文
posted @ 2019-08-07 16:33 edc_陳先森 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 1.列表 Gridview 显示底部 2 底部增加统计 阅读全文
posted @ 2018-12-17 13:55 edc_陳先森 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: DEV 之 有些控件不允许拖动。 设置一个参数即可解决问题 阅读全文
posted @ 2018-11-09 16:45 edc_陳先森 阅读(844) 评论(0) 推荐(0) 编辑