摘要: 目录 一、Visual Studio 2022 介绍 二、Visual Studio 2022 下载 三、Visual Studio 2022 安装教程 一、Visual Studio 2022 介绍 Visual Studio 2022 是微软推出的第 17 代集成开发环境(IDE),专为现代软件 阅读全文
posted @ 2025-11-17 15:29 世界改变程序员 阅读(3) 评论(0) 推荐(0)
摘要: https://nodejs.org/download/release/v14.21.3/?spm=a2ty02.30260236.0.0.773974a1aE7bSs 阅读全文
posted @ 2025-09-11 12:24 世界改变程序员 阅读(7) 评论(0) 推荐(0)
摘要: 根据你提供的 package.json,这是一个 Vue 2 + Element UI 技术栈的管理端项目,依赖配置完整但存在部分版本兼容性要点(如 node-sass、vue-cli 版本匹配)。以下是 从环境准备到项目启动的完整操作指南,解决你之前遇到的 npm/yarn 安装报错和启动问题: 阅读全文
posted @ 2025-09-11 09:33 世界改变程序员 阅读(12) 评论(0) 推荐(0)
摘要: .准备你的环境: 后端需求:VS2019/VS2022、.NetCore 3.1、MySQL/SQLServer、Redis。 前端需求:Node.js 16.17.1、VsCode、Vue3。 Visual Studio Code 安装教程 Visual Studio Code(简称 VS Cod 阅读全文
posted @ 2025-08-18 20:45 世界改变程序员 阅读(403) 评论(0) 推荐(0)
摘要: 一、Redlock算法(Redis官方推荐的分布式锁) 1. 业务场景分析 在超市商品到货登记系统中,关键业务逻辑是: 记录商品到货信息 更新商品库存数量 确保库存数量不超过1000的限制 同一商品同一天到货只更新不新增记录 这些操作需要保证数据一致性和并发安全。 2. 锁机制实现方案 2.1 乐观 阅读全文
posted @ 2025-08-14 17:34 世界改变程序员 阅读(22) 评论(0) 推荐(0)
摘要: 三层架构简介 表现层(Presentation Layer,PL):也称为用户界面层,主要负责与用户进行交互,接收用户的输入并显示处理结果。通常包含各种界面元素,如 Windows 窗体、Web 页面等。 业务逻辑层(Business Logic Layer,BLL):负责处理业务逻辑,对表现层传来 阅读全文
posted @ 2025-02-23 09:44 世界改变程序员 阅读(385) 评论(0) 推荐(0)
摘要: 一定要看清楚sql语句,不能漏,不能少 点击查看代码 public DataTable SelectProductInfo() { //very important,查询到商品信息才能填充到GridView,不让GridView为空 string sql = "SELECT ProId, CatId 阅读全文
posted @ 2025-02-21 20:41 世界改变程序员 阅读(8) 评论(0) 推荐(0)
摘要: 点击查看代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using 阅读全文
posted @ 2025-02-19 22:31 世界改变程序员 阅读(33) 评论(0) 推荐(0)
摘要: 以下是这段代码中存在的逻辑顺序分析: 1. InitRoomInfoData 方法中的逻辑问题 public void InitRoomInfoData() { DataTable dt = _roomBLL.QueryRoom(); DataRowCollection rows = dt.Rows 阅读全文
posted @ 2025-02-19 22:13 世界改变程序员 阅读(31) 评论(0) 推荐(0)
摘要: WinForm事件中的Object sender和EventArgs e参数 //订阅事件 CategoryChanged += categoryInfoUpdateForm.GetValue; //发布事件 //特别注意Invoke的参数。 CategoryChanged.Invoke(this, 阅读全文
posted @ 2025-02-17 17:28 世界改变程序员 阅读(7) 评论(0) 推荐(0)